Click here to Skip to main content
14,695,272 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
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,

1. Removed gmail id provided by OP.
2. Removed unnecessary pre tag.
R. Giskard Reventlov 7-Nov-12 11:56am
We don't do homework.

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

I solved this problem by myself
You could always read this[^]. It might help.

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900