Subject: Show class into datagrid in hierarchical in c#.net
Posted By: alakya Post Date: 9/15/2006 5:10:55 PM
I have a class RTCA, which consists of other class RTC and a list of datetime DA. Now I have to present this RTCA class object into datagrid in hierarchical form..

Class RTCA
{
   RTC objRTC;
   private List<DateTime> DA;
}

data is present in the objRTA and list

I need to first show the objRTA and in level 2 the list

----Is there any better way than datagrid...plz help
Urgent

Sree
Reply By: laoying79 Reply Date: 9/16/2006 4:03:22 AM
You may store the elements of the class into two tables,both of which are in the same database.
Then you may set the relationship of these two tables:one to many.
Connect to database,and bind tables to datagrid.



Go to topic 49842

Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167
Return to index page 166
Return to index page 165
Return to index page 164