WinForms, DataSets, and C# - Passing DataSet bewteen two Forms
Posted on 2007-04-04
MS Visual Studio 2005, SQL 2005, C#, XP Pro, WinForms
I am an ASP.Net/C# programmer with a WinForms Question: I have two forms, A and B. The user navs from Form A to Form B. In Form B, I retrieve a dataset from SQL, and I give it a name (dsPrint). The user modifies the dataset via a DataGrid in Form B. I do not save it to SQL. The user then returns to Form A to View and Print from the DataSet.
Question: Can you give me an example of how I identify the dsPrint dataset in Form A, so I can bind it, scan through it, etc?