for (int iRow = 1; iRow < Table1.Rows.Count; iRow++) { for (int iCol = 1; iCol <= 8; iCol++) { if (Table1.Rows[iRow].Cells[iCol].Controls.Count > 0) { DropDownList odocType = (DropDownList)grid_Doc.Rows[iRow].Cells[iCol].Controls[0]; oImage.DocType =MainClass.GetInteger( odocType.SelectedValue); } } }
Try to use the Session, as described in the ASP.NET Session State Overview MSDN topic.
Session
Session["MyEnteryName"] = myEntry;
myEntry = Session["MyEnteryName"];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)