PC Review


Reply
Thread Tools Rate Thread

DataGrid: Master-Detail

 
 
LrKr
Guest
Posts: n/a
 
      27th Sep 2003
Hi,

Just one question that has been bothering me for awhile.

Let me set the scene. I have a dataset that has two tables and a
relationship between them. It's easy to create a master-detail datagrid
pair.

The question is: How does one sort the results of the datagrids AND maintain
the relationship?

TIA
John


 
Reply With Quote
 
 
 
 
Matt Garven
Guest
Posts: n/a
 
      28th Sep 2003
Hi John,

From memory, the DataViewManager.DataViewSettings[Table.TableName].Sort
should do the trick. You can set the default sort order there.

Regards,
Matt
(E-Mail Removed)

"LrKr" <(E-Mail Removed)> wrote in message
news:bl43j2$2vk9$(E-Mail Removed)...
> Hi,
>
> Just one question that has been bothering me for awhile.
>
> Let me set the scene. I have a dataset that has two tables and a
> relationship between them. It's easy to create a master-detail datagrid
> pair.
>
> The question is: How does one sort the results of the datagrids AND

maintain
> the relationship?
>
> TIA
> John
>
>



 
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
master/detail datagrid mfleet1973@yahoo.ca Microsoft VB .NET 0 13th Jul 2006 02:05 PM
Master-Detail DataGrid with conditional (detail) formatting John Sitka Microsoft Dot NET Framework Forms 0 4th Nov 2005 08:50 PM
Reproducible bug in Master-Detail DataGrid when RowFilter applied to Master jgbailey@gmail.com Microsoft Dot NET Framework Forms 0 21st Oct 2005 08:19 PM
Filtering the Detail Datagrid in a Master Detail Relationship =?Utf-8?B?Qm9i?= Microsoft ADO .NET 1 19th Dec 2004 08:00 PM
datagrid master-detail bug? =?Utf-8?B?QnJhZA==?= Microsoft Dot NET Framework Forms 1 27th May 2004 08:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 AM.