Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code to launch a form and pass a value from a grid?
Message
From
06/04/2008 23:30:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Code to launch a form and pass a value from a grid?
Miscellaneous
Thread ID:
01308628
Message ID:
01308628
Views:
71
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...
Next
Reply
Map
View

Click here to load this message in the networking platform