string name=((Label)gv1.Rows[index].Cells[0].Controls[1]).Text.ToString(); string id==((Label)gv1.Rows[index].Cells[1].Controls[1]).Text.ToString();
foreach(DataListItem item in DataList1.Items) { ID = Convert.ToInt32(((Label)item.FindControl("lblId")).Text); strPassword = ((TextBox)item.FindControl("txtPassword")).Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)