Hi Ian,
Thanks for the answer to that one. For the archives, the VB.Net code I am
using is this:
Dim DRV As DataRowView =
Me.BindingContext(dgrdMain.DataSource).Current
Debug.WriteLine("SN = " & DRV("System Number").ToString & " VNUM =
" & DRV("Visit Number").ToString)
One wonders why they gave us a DatarowView object when a DataRow would have
done.
Many thanks,
Jay Ayliff
Stalis Ltd
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.