hey all,
if my DataTable has a primary key set and I assign my GridView's DataSource
my datatable will the primary key be automatically applied to the
DataKeyNames?
thanks,
rodchar
Manish - 01 Feb 2008 20:27 GMT
If you are binding the control at run time then you will have to assign the
DataKeyNames property to the Key field in your table.
Regards,
Manish
www.ComponentOne.com
> hey all,
> if my DataTable has a primary key set and I assign my GridView's DataSource
[quoted text clipped - 3 lines]
> thanks,
> rodchar