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);
        }

Comments

  1. Your work is so good I like Your articles writing your writing is so clear I liked it you are a great writer. I appreciate your work. Click here for best NCERT solution

    ReplyDelete

Post a Comment

Popular posts from this blog

Automatically send Birthday email using C#.Net

Drag and Drop multiple File upload using jQuery AJAX in ASP.Net using C# and VB.Net

Difference between each and map in jquery