Community

Using DataKeyNames in the ASP.NET GridView control

(Malcolm Sheridan) Recently I was asked by a work colleague about what was the best way to hide primary keys when displaying data in a GridView control. I mentioned the DataKeyNames property and got a blank stare. This little gem is a property on the GridView control that allows you to set an array

Read More - Register for Free Membership