Hi
I have a dataset with 2 table and a datarealation between the tables. When
setting a win form datagrid's datasource to the dataset I get a nice picture
of the data - including the child data. However I need to click a link right
after press the + sign to se the data. The link is the relationname - but I
only have one so its kinda stupid. Is there anywhere to avoid having to
click the datarelationname?
Thanks
Ken Tucker [MVP] - 20 Jun 2005 10:41 GMT
Hi,
Set the datagrids allownavigation property to false.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsdatagridclassallownavigationtopic.asp
http://www.windowsformsdatagridhelp.info/default.aspx?ID=a1a84750-08df-49b4-8657
-7bc3068aca2c
Ken
------------------
Hi
I have a dataset with 2 table and a datarealation between the tables. When
setting a win form datagrid's datasource to the dataset I get a nice picture
of the data - including the child data. However I need to click a link right
after press the + sign to se the data. The link is the relationname - but I
only have one so its kinda stupid. Is there anywhere to avoid having to
click the datarelationname?
Thanks