PC Review


Reply
Thread Tools Rate Thread

About Dataset & DataGrid

 
 
ElanKathir .S.N
Guest
Posts: n/a
 
      24th Feb 2004
Hi !

How to populate the Datagrid with out using the Dataset?
I want to add the record dynamicly.

Thanks & Regards

Elankathir,
B'lore,
India.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      24th Feb 2004
Hi,

Create a class to store the data. Store the class in an arraylist
or collection. Any property in the class will be displayed in the datagrid.
The class must implement Ieditableobject for you to be able to edit the
bound data.

http://msdn.microsoft.com/library/de...classtopic.asp

http://www.onteorasoftware.com/Datagrid.aspx#AnsDB1


Ken
-------------------
"ElanKathir .S.N" <(E-Mail Removed)> wrote in message
news:%230HGZys%(E-Mail Removed)...
> Hi !
>
> How to populate the Datagrid with out using the Dataset?
> I want to add the record dynamicly.
>
> Thanks & Regards
>
> Elankathir,
> B'lore,
> India.
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      24th Feb 2004
Hi Elan,

Use a datatable.

Cor


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: DataGrid and Dataset Usarian Skiff Microsoft VB .NET 0 19th Sep 2005 02:02 PM
Getting dataset row from datagrid Ron L Microsoft Dot NET Framework Forms 2 28th Oct 2004 06:32 PM
Re: datagrid without dataset Scott Microsoft ADO .NET 0 27th Jul 2004 07:37 PM
DataGrid Component | Displaying columns of a DataSet as Rows in a DataGrid ? Diego TERCERO Microsoft C# .NET 3 19th Dec 2003 02:21 PM
Re: Dataset and DataGrid Marc Scheuner [MVP ADSI] Microsoft ADO .NET 0 14th Aug 2003 08:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:55 AM.