R
Red Green
I am trying to switch to C# from Delphi and I am having some trouble finding
some information. What I need to do should be simple but I have been through
a dozen books and done web searches that don't help me out at all. Delphi
had a data module that was shared between an applications forms but I don't
see any way to do this in C#.
Lets say I have two forms, the first with a data grid and the second with
field that should contain the data coresponding to the selected record in
the grid. The second form requires setting the query parameter before
showing the data. Because of the way that C# seems to work (each form has
it's own connection and data components) I don't understand how to get the
two forms or data sets to communicate with each other.
This seems like it should be a very common thing to do, is there an example
anywhere showing how to do this?
some information. What I need to do should be simple but I have been through
a dozen books and done web searches that don't help me out at all. Delphi
had a data module that was shared between an applications forms but I don't
see any way to do this in C#.
Lets say I have two forms, the first with a data grid and the second with
field that should contain the data coresponding to the selected record in
the grid. The second form requires setting the query parameter before
showing the data. Because of the way that C# seems to work (each form has
it's own connection and data components) I don't understand how to get the
two forms or data sets to communicate with each other.
This seems like it should be a very common thing to do, is there an example
anywhere showing how to do this?