Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGridView
Message
De
06/11/2007 20:41:22
 
 
À
06/11/2007 20:36:43
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01267049
Message ID:
01267170
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform