Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGridView
Message
From
06/11/2007 20:41:22
 
 
To
06/11/2007 20:36:43
General information
Forum:
ASP.NET
Category:
Forms
Title:
Environment versions
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01267049
Message ID:
01267170
Views:
14
This message has been marked as the solution to the initial question of the thread.
Most objects are passed by reference by default (at least in C#) and a DataRow is an object, so it's passed by reference (things like int and string are passed by value, unless you specify the "ref" keyword). What this means is that whatever changes you make to it in the modal form are already there in the calling class, so basically you don't have to do anything!

~~Bonnie



>Hello Bonnie, great help!
>
>I will pass the DataRow to the modal form and then I will do the binding in the modal form. Now, How do I pass back the DataRow ?. Once I pass back the changed DataRow, I guess I will have to update the DataSet that is bind to the DataViewGrid.
>Is the logic right??
>
>Thanks
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform