PC Review


Reply
Thread Tools Rate Thread

Data Relations In ASP.net

 
 
Dave Hagerich
Guest
Posts: n/a
 
      3rd Oct 2005
I'm have a an ASP.Net project with a DataGrid in it. I'm using a DataSet for
the source and I have a DataRelation setup. On a windows datagrid this is
all you need to be able to navigate between the parent and child tables.
But in asp.net I cant fiqure out how to display the child. I tried adding a
command button that rebuilds grid with the correct columns and then sets the
datasource as follows:

DataGrid.DataSource = theRow.GetChildRows("RelationName");

but I just get an error saying that there is no field or property with the
correct name. I've looked through the MSDN but couldnt find any help with
data relations in asp.net. Could somebody point me in the right direction?


 
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
ACCESS relations: table clones doesn't keep relations =?Utf-8?B?U3VwZXJib3k=?= Microsoft Access 1 19th Jul 2005 10:57 PM
data relations Joe Van Meer Microsoft ASP .NET 4 5th May 2004 07:57 PM
Data Relations and i`ll even pay someone now to tell me! Merlin Microsoft VB .NET 4 3rd Mar 2004 03:28 PM
Data Relations and Ill pay someone now Merlin Microsoft ADO .NET 8 3rd Mar 2004 03:21 PM
Need help with data relations Pierre Microsoft ADO .NET 0 27th Oct 2003 02:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:21 AM.