PC Review


Reply
Thread Tools Rate Thread

How do you set a Datagrid obj to a specific Datagrid?

 
 
KC
Guest
Posts: n/a
 
      15th Jul 2004
How can I set a newly created DataGrid object equal to a particular DataGrid
in my app? I'm loading data from a file and one of the things the file
contains is the name of the datagrid used to view the data.


something like:

Dim dg as DataGrid
Dim nameOfDataGrid as string
....
[read file and get datagrid name]
....
dg = nameOfDataGrid


---
Ken


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      16th Jul 2004
Hi KC,

The question needs more explanation in my opinion.

However a datagrid exist of a lot of references which are to references
again.

One of those which you can take fast is the datasource,
There is no problem at all using the same datasource for 2 datagrids, when
you want partially data, then 2 new dataviews is in my opinion the most
simple way to go.

When you are meanign the whole datagrid than I think is the way to go making
your own datagrid inheriting the original one.

When this is not what you mean, reply?

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
Look for a specific Value in a Datagrid Dave Microsoft ASP .NET 0 5th Jan 2007 04:56 PM
Datagrid row-specific tooltips JezB Microsoft Dot NET Framework Forms 2 13th Apr 2005 03:06 PM
DataGrid - Formatting a specific row David Freeman Microsoft ASP .NET 3 23rd Oct 2004 03:28 PM
How to get a specific check box cell value in datagrid gugu Microsoft VB .NET 2 8th Apr 2004 02:58 PM
Disable Specific row in DataGrid alex Microsoft VB .NET 1 2nd Sep 2003 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:59 PM.