|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
how to double-click on a row on datagrid?
as above..
and get value of the first column of the row clicked? i need to double click on a row, then pop up another form for user to edit the fields, and save back to datagrid. Anyone pls enlighten me how to go abt it? pleasseee... urgent for my work. forgot to mention, i'm using VB.NET Window Forms Last edited by cheryl20 : August 7th, 2002 at 09:12 PM. |
|
#2
|
|||
|
|||
|
Well, since nobody has replied to this question I'll try to help.
I haven't used the datagrid in VB.net. The last time I used any grid control was in VB. The FlexGrid. The flexgrid control exposed the properties .Col and .Row When you double click on the FlexGrid .Col and .Row cooresponded to the row and column you clicked on. So in your case you would have wanted to get the Row number. From their you would just use the .Col and .Row to get the values from each cell. Hope that helps you answer your own question.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > how to double-click on a row on datagrid? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|