Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i detect DataGridView.SelectedRows pass in 2 for
Message
 
To
23/08/2011 21:47:00
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01521317
Message ID:
01521799
Views:
20
>Yes ar. But i don't know how to finish it. Or don't pass the tempRowArray(AccessrightDataGridView.SelectedRows) to OptionForm.
>May i go to MainForm get the tempRowArray (Arraylist) in OptionForm.
>Or no method can pass unknow array count to other form ?
Alex,
I bow to Bonnie's greater knowledge and experience but what I had in mind was not passing data but only passing the object reference for the calling form to your dialog form. In that way, you can reference your grid directly. In other words, you would pass a parameter such as oCallingForm to your dialog form. Then you can reference the datagridview as oCallingForm.grdAccessrightDataGridView. Depending on what you want to do, that may be easier than passing in data.
Linda Harmes
HiBit Technologies, Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform