Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27311

VS 2010 DataBound grids and textboxes

$
0
0
Hello everyone.
I have a question on how to do the opposite of what I seen around the net. IE the Customer/Orders related table thing, where Customers are shown in detail form and their related Orders are shown in a datagridview.

I have a datagridview that is loaded with clients from a Access db using a tableadaptor and a dataset. Now I want to view there related information in textboxs (Detail form). My problem is that there is something like 100 records in the Client table and 0 in the related project table, so I need to add rows based on the BidID column.

I'm having a problem wrapping my head around a one-to-many relationship cause 1 client(BidID) should only have 1 related record, so this really even a related record? I've read the one-to-one relationships are rare, cause there handled differently but that was as far as that article went, leaving me with ??????.

Anyway, does anyone have any advice?

Viewing all articles
Browse latest Browse all 27311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>