Answers for "c# get gridview DataKeyNames"

C#
0

c# get gridview DataKeyNames

foreach (GridViewRow row in grid.Rows)
{
    int id = Convert.ToInt32(grid.DataKeys[row.RowIndex].Value.ToString());
}
Posted by: Guest on May-06-2020

C# Answers by Framework

Browse Popular Code Answers by Language