Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / June 2005

Tip: Looking for answers? Try searching our database.

master/detail in datagrid - how to avoid choosing relation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anders S. Willumsen - 17 Jun 2005 23:23 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.