Posts

Showing posts from November, 2018

Save entire gridview data into sql server

 for (int i = 0; i < gvConsCanList.Rows.Count; i++)         {             con.TRS= gvConsCanList.Rows[i].Cells[2].Text;             con.KUTAMI = gvConsCanList.Rows[i].Cells[3].Text;             con.BJP= gvConsCanList.Rows[i].Cells[4].Text;             con.Status = gvConsCanList.Rows[i].Cells[2].Text;             con.Const_name = gvConsCanList.Rows[i].Cells[1].Text;             con.OTHERS = gvConsCanList.Rows[i].Cells[5].Text;             bAL.iNSERTGridview(con);         }