Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2006, 05:10 PM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Show class into datagrid in hierarchical in c#.net

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
 
Old September 16th, 2006, 04:03 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.







Similar Threads
Thread Thread Starter Forum Replies Last Post
datagrid can't show anything irisnun Beginning VB 6 1 March 14th, 2007 01:41 PM
To show 2 footers in a asp.net 1.1 datagrid contro daffodils ASP.NET 1.0 and 1.1 Professional 0 November 20th, 2006 05:54 AM
hierarchical display in datagrid aravwind General .NET 2 July 30th, 2004 03:12 AM
How can i show data in datagrid? Blueman137 ASP.NET 1.0 and 1.1 Basics 0 March 30th, 2004 08:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.