protected void GridView2_RowDataBound(Object sender, GridViewRowEventArgs e)
{
string local_idcode="";
string local_year="";
if (e.Row.RowType == DataControlRowType.DataRow)
{
local_idcode = Convert.ToString(GridView2.DataKeys[e.Row.RowIndex].Values[1].ToString());
local_year = Convert.ToString(GridView2.DataKeys[e.Row.RowIndex].Values[2].ToString());
}
No comments:
Post a Comment