Posted on: 7/24/2015 11:17:41 AM | Views : 764

I am inserting values for each column of the gridview but I am not able to view all the values after saving it. I dont know why. Here is my code.Please suggest where I am going wrong.
protected void btnSave_Click(object sender, EventArgs e) { DataAccessLayer ObjPriSubmitDal = new DataAccessLayer(Providers.ConfigDefined); ObjPriSubmitDal.BeginTransaction(); StringBuilder sb = new StringBuilder(); XmlWriter xw = XmlWriter.Create(sb); xw.WriteStartElement("DocumentElement"); for (int intCount = 0; intCount < GrdQualification.TotalRowCount; intCount++) { xw.WriteStartElement("p_emp_qualification_mst"); xw.WriteElementString("sr_no", GrdPS.Rows[intCount].Cells[GrdQualification.Columns.GetColumnIndexByDataField("SR_NO")].Text.Trim()); xw.WriteElementString("degree", GrdQualification.Rows[i ...

Go to the complete details ...