Porblem in DataGrid

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Oct 2008
Posts: 56
Reputation: karthi_selva is an unknown quantity at this point 
Solved Threads: 0
karthi_selva karthi_selva is offline Offline
Junior Poster in Training

Porblem in DataGrid

 
0
  #1
Feb 11th, 2009
hi,

P1
c1
c2
p2
c3
c4
(pls consider this is treeview: P1,P2--Parent, c1,c2,c3,c4---Child nodes)
task is ,
when i select the item from treeview.
i like to show in the datagrid view.

if user selects one parent item from treeview. i like show in datagrid view that entire parent and child details.

if user selects second child node only (like c4) one also show in another datagridview with parent name p2. after some time user again select the second node child (c3) in tree view.that node information must added into that exists datagridview.


i think u can understand my problem .

so here when i again select he previous i must know the previous information. so how can i maintain.

the same operation instead of using datagrid i m used treeview very successfully executed. so each time i am travel the treenode and check the existing data present then add the selected node. otherwise create the new node.

i think u can understand my problem
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Porblem in DataGrid

 
0
  #2
Feb 11th, 2009
So now you have 4 threads on the same subject. If you cant work out and reply to a one you already made, how do you realistically expect to learn to code?

You havent changed a single word of it, so it still doesnt make sense.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 17
Reputation: bhaskerlee is an unknown quantity at this point 
Solved Threads: 2
bhaskerlee bhaskerlee is offline Offline
Newbie Poster

Re: Porblem in DataGrid

 
0
  #3
Feb 11th, 2009
You want to populate the datagridview rgt?.
Please go through the properties of DataGridView.You can easily populate datagridview with the details of selected treenode.All the best!!
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 56
Reputation: karthi_selva is an unknown quantity at this point 
Solved Threads: 0
karthi_selva karthi_selva is offline Offline
Junior Poster in Training

Re: Porblem in DataGrid

 
0
  #4
Feb 11th, 2009
ok thank u
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 339 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC