Hi Bernard,
Look at the code snippet below:
CurrencyManager cm = (CurrencyManager)this.BindingContext[
dataGrid.DataSource,
dataGrid.DataMember];
DataView view = (DataView)cm.List;
string customerName = view[cm.Position]["CustomerName"]
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Bernard" <be*******************@eds.com> wrote in message
news:0b****************************@phx.gbl...
HI,
I have a Datagrid with some columns,... anyone knows how
can I retrieve the values of the selected row?
Thanks,