Click here to Skip to main content
11,567,814 members (46,459 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL-Server
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 at 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


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2015
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