I'll look at this. I do have a primary key/foreign key link set up in the DataSet. It's not working automatically. Google didn't really give me much in the first couple of pages.
On Wed, Sep 29, 2010 at 6:25 AM, Processor Devil <[email protected]>wrote: > ummm... relations? > > Yup, relational "databases" can help you a lot. It doesn't really matter if > you are using SQL, XML or just DataSets.... today you can make relations > even in plain text data :D. > > Try to take a look at > > http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBcQFjAA&url=http%3A%2F%2Fwww.codeproject.com%2FKB%2Fdatabase%2Frelational_database.aspx&rct=j&q=c%23%20relational%20database&ei=Hj6jTPj2MI_14AaBo7XjAg&usg=AFQjCNF6OcF-kRR09KoXhMt5YsJx_b8y9Q&sig2=LJF8IvKaMV0I523Q0VGNsA&cad=rja > > and > > > http://www.google.com/url?sa=t&source=web&cd=10&ved=0CEIQFjAJ&url=http%3A%2F%2Fwww.csharphelp.com%2F2006%2F07%2Fmapping-objects-to-relational-databases-mysql%2F&rct=j&q=c%23%20relational%20database&ei=Hj6jTPj2MI_14AaBo7XjAg&usg=AFQjCNF3ahh6y1AwP0K0Q-Sth3gtA7BakA&sig2=GrCTCsj3OC2dnRCuTZyclg&cad=rja > > and of course... Try google :) > > 2010/9/29 David Ford <[email protected]> > > I'm having a surprisingly hard time finding this. >> >> I need to link a combobox to a datagrid, and that datagrid to another >> datagrid, so that, when one upstream gets changed, the two downstream >> change so show selected data. >> >> I can sort of figure out how to do the combobox to the datagrid, but >> don't know if what I'd do would be best practice, or if there is a >> slicker way to do it. I can't find how to get the key field value >> from a datagrid record though, so that I can use it to set the filter >> for the linked datagrid. >> >> TIA. > > >
