I have a c# windows app with a formTab on one of the forms. What I'm trying to do is pass the id of one datasource into the parameter of the query for another datasource on another tab. So effectively when the row containing the id field is selected the data on the next tab can be queried using that id field as aparameter. So how do I pass that value?

sorry - I hope that isnt too confusing!


Re: passing id from one formtab to another 80 80

The objects on each tab are all available at the form level.
Just reference them in what ever method or event handler code you need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.