PC Review


Reply
Thread Tools Rate Thread

Determining the DataViewRow that was clicked in a DataGridView

 
 
Mircea Ion
Guest
Posts: n/a
 
      11th Apr 2009
Hi guys,

A DataGridView's DataSource is set to a DataView.
When I click on a cell I want to be able to obtain a reference to a
DataViewRow that was clicked.
I mean the one that coresponds to the DataGridView row which was actually
clicked.

Thank you


 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      11th Apr 2009
use the currencymanager to do that.

http://www.vb-tips.com/CurrencyManager.aspx

Cor

"Mircea Ion" <(E-Mail Removed)> wrote in message
news:FA4D84AB-DD55-40E1-AFA9-(E-Mail Removed)...
> Hi guys,
>
> A DataGridView's DataSource is set to a DataView.
> When I click on a cell I want to be able to obtain a reference to a
> DataViewRow that was clicked.
> I mean the one that coresponds to the DataGridView row which was actually
> clicked.
>
> Thank you
>
>


 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2003, Determining which control has been clicked Jerry Pine Pollen Microsoft Access VBA Modules 4 19th Aug 2008 09:42 AM
Determining which Print Button was clicked Reggie Microsoft Excel Programming 2 18th Aug 2008 02:12 AM
Determining which Menu Item is Clicked Elliot Microsoft VB .NET 1 10th Mar 2005 10:19 PM
Problem determining when user has clicked outside my UserControl Rhy Mednick Microsoft C# .NET 1 1st Jun 2004 08:22 AM
Re: Determining if a hyperlink button to external site has been clicked. William F. Robertson, Jr. Microsoft ASP .NET 0 30th Jun 2003 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:52 AM.