Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code to launch a form and pass a value from a grid?
Message
De
06/04/2008 23:30:02
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Code to launch a form and pass a value from a grid?
Divers
Thread ID:
01308628
Message ID:
01308628
Vues:
70
Newbie here... Can someone give me some pointers (i.e. rough sample code in C#) on how you launch another form and pass one or more values to it?

For instance, I have a grid on a form that when the user double-clicks a cell, I want to launch a certain other form and pass the value of the cell they double-clicked. I know how to get the cell value and the double-click cell handler, I just need to know the code to launch the form, and how to deal with the passing of the value.

To elaborate, if they double-click on a cell in the customer number column, I will launch one certain form, and if they double-click on a cell in the vendor column, I will launch a different form, etc...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform