Kevin,
Thanks, this worked perfectly!
Thanks,
Jerry
>Hi, Jerry
>
>There are probably a number of ways to handle this. Here's what I'm doing.
>
>In the ASP.NET GridView, there's a property called DataKeyNames. You can set that to your ID column name.
>
>In the gridview's SelectedIndexChanged event (which fires if you have any link or command button with a command name of "SELECT"), you can do this...
>
>
>int MyID = (int)this.grdThisWeek.SelectedDataKey.Values["MyIDColumn"];
>
>
>Let me know if that helps.
>
>Kevin