.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 7th, 2002, 09:10 PM
cheryl20 cheryl20 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 5 cheryl20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old September 1st, 2003, 12:00 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 785 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 17
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.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > how to double-click on a row on datagrid?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap