M
mike
i'd like to get datakey of GridView So i write code like below
but it wasn't work well. how should i do?
protected void BookGridView_RowDataBound(object sender,
GridViewRowEventArgs e)
{
int tableId = int.Parse(
BookGridView.DataKeys[e.Row.DataItemIndex].ToString() );
.....
}
but it wasn't work well. how should i do?
protected void BookGridView_RowDataBound(object sender,
GridViewRowEventArgs e)
{
int tableId = int.Parse(
BookGridView.DataKeys[e.Row.DataItemIndex].ToString() );
.....
}