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.