Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i detect DataGridView.SelectedRows pass in 2 for
Message
From
25/08/2011 16:03:39
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01521317
Message ID:
01521814
Views:
30
>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.

Hi Linda,

The same methodology I wrote in my blog post could apply to controls as well as data. My examples just happen to deal with data. So, what you had in mind works equally well!

~~Bonnie
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