Click here to Skip to main content
16,006,440 members
Home / Discussions / C#
   

C#

 
GeneralRe: Open MDI Child form from already MDI child form Pin
surgeproof17-Mar-04 6:21
surgeproof17-Mar-04 6:21 
QuestionHow to resize column width of datagrid. Pin
Inpreet Singh17-Mar-04 0:49
Inpreet Singh17-Mar-04 0:49 
AnswerRe: How to resize column width of datagrid. Pin
Mazdak17-Mar-04 3:29
Mazdak17-Mar-04 3:29 
AnswerRe: How to resize column width of datagrid. Pin
Heath Stewart17-Mar-04 5:47
protectorHeath Stewart17-Mar-04 5:47 
Questionhow to write meta information in files? Pin
g112917-Mar-04 0:42
g112917-Mar-04 0:42 
AnswerRe: how to write meta information in files? Pin
Heath Stewart17-Mar-04 5:42
protectorHeath Stewart17-Mar-04 5:42 
Generalwindows explorer type Treeview/Listview structure Pin
Inpreet Singh17-Mar-04 0:38
Inpreet Singh17-Mar-04 0:38 
GeneralRe: windows explorer type Treeview/Listview structure Pin
Heath Stewart17-Mar-04 5:37
protectorHeath Stewart17-Mar-04 5:37 
This is not a short solution and is not suitable for a forum. It is possible, but you have to provide a heck of a lot of functionality to get it to work (and you'll find that the TreeView in the FCL sucks, but it should work for what you need it seems).

Search CodeProject for solutions, though. I know I've seen a few that create and synchronize TreeView controls with database content. You should also try googling[^].

Some third-party controls already have this capability as well, or at least make it easier. Most aren't very expensive and if you're coding this for any commercial deployment will be most cost-effective if you try and buy these. I recommend the appropriate controls from either http://www.devexpress.com[^] or http://www.infragistics.com[^], both of which I have experience with and like. We use Infragistics UltraWinTree in our product, but only because at the time it was the only choice.

 

Microsoft MVP, Visual C#
My Articles
GeneralUpdate data in Grid on form1 from form2. Pin
Inpreet Singh16-Mar-04 23:55
Inpreet Singh16-Mar-04 23:55 
GeneralRe: Update data in Grid on form1 from form2. Pin
Heath Stewart17-Mar-04 5:33
protectorHeath Stewart17-Mar-04 5:33 
GeneralListView update Problem Pin
Snowjim16-Mar-04 23:55
Snowjim16-Mar-04 23:55 
GeneralRe: ListView update Problem Pin
Heath Stewart17-Mar-04 5:29
protectorHeath Stewart17-Mar-04 5:29 
GeneralSTGMEDIUM Union Layout Woes Pin
Tristan Rhodes16-Mar-04 22:03
Tristan Rhodes16-Mar-04 22:03 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Heath Stewart17-Mar-04 4:51
protectorHeath Stewart17-Mar-04 4:51 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:18
Tristan Rhodes17-Mar-04 5:18 
GeneralRe: STGMEDIUM Union Layout Woes Pin
Tristan Rhodes17-Mar-04 5:47
Tristan Rhodes17-Mar-04 5:47 
QuestionHow to use class in Web Service Pin
boat2002w16-Mar-04 22:01
boat2002w16-Mar-04 22:01 
AnswerRe: How to use class in Web Service Pin
Mazdak16-Mar-04 22:17
Mazdak16-Mar-04 22:17 
GeneralRe: How to use class in Web Service Pin
boat2002w16-Mar-04 22:30
boat2002w16-Mar-04 22:30 
GeneralRe: How to use class in Web Service Pin
Mazdak17-Mar-04 3:26
Mazdak17-Mar-04 3:26 
AnswerRe: How to use class in Web Service Pin
Michael Flanakin17-Mar-04 18:44
Michael Flanakin17-Mar-04 18:44 
GeneralEasy Arithmetic question Pin
northernlights16-Mar-04 21:02
northernlights16-Mar-04 21:02 
GeneralRe: Easy Arithmetic question Pin
Colin Angus Mackay16-Mar-04 22:48
Colin Angus Mackay16-Mar-04 22:48 
GeneralRe: Easy Arithmetic question Pin
northernlights16-Mar-04 23:49
northernlights16-Mar-04 23:49 
GeneralRe: Easy Arithmetic question Pin
Chris Meech17-Mar-04 4:05
Chris Meech17-Mar-04 4:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.