Click here to Skip to main content
13,044,428 members (115,002 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Requirement: Databases displayed in a treeview depends up on user permissions.

User has few databases permission and Admin has all database permission.


So,depending upon the user's access permissions, I have to bind the tree view and display in a windowsform and when i click child nodes of treeview, it has to open like sqlserver software and when user clicks on tables (child nodes of treeview) ,column names should be displayed in a tabular format in neighbour panel.
Assume like operating sql server software.

Finally in the second panel, I should able write the query, then the query should execute and in the third panel I should get the results in the tabular format.

Please understand the requirement and give me the code asap as a token of kindness.

Thanks and regards,
G.srikiran,


[Edit]
1. Removed gmail id provided by OP.
2. Removed unnecessary pre tag.
[/Edit]
Posted 7-Nov-12 0:06am
v2
Comments
mark merrens 7-Nov-12 11:56am
   
We don't do homework.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

one can tell me how to bind a particular database tables (ALL TABLES) TO treeview in asp.net

Srikiran
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

I solved this problem by myself
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You could always read this[^]. It might help.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100