DataRow NewRow = objDT.NewRow(); NewRow[0] = ""; NewRow[1] = "Space"; NewRow[2] = false; objDT.Rows.Add(NewRow); foreach (GridViewRow GVwRow in GVwEquipFrnt.Rows) { TextBox objTxt = (TextBox)GVwRow.FindControl("TxtWidthFrt"); NewRow["EBBWidth"] = objTxt.Text; } objDT.GetChanges(DataRowState.Added); ViewState["Tbl"] = objDT; this.GVwEquipFrnt.DataSource = objDT; this.GVwEquipFrnt.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)