471,350 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

obtaining value of specific datagridview cell value using RowEnter event?

I am simply trying to obtain the value of a specific cell ( a CustomerID in
a particular row.) in a DataGridView.

How (or can I ) do this using the RowEnter event?

The datagrid is bound to a datasource obtained via

BindingList<Customer> GetCustomers();



Feb 8 '06 #1
1 6183
this is what I wanted.

private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs
Customer c = m_Customers[e.RowIndex];
Feb 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Morten Snedker | last post: by
1 post views Thread by Roach | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.