Click here to Skip to main content
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 1: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
0 OriginalGriff 650
1 Maciej Los 525
2 Suvendu Shekhar Giri 229
3 Sascha Lefévre 229
4 Richard Deeming 195
0 Sergey Alexandrovich Kryukov 9,693
1 OriginalGriff 9,185
2 Peter Leow 5,112
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,876


Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | 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