for (int i = 0; i < SizeGrid.Rows.Count; i++) { string status; CheckBox chkslect = (CheckBox)SizeGrid.Rows[i].FindControl("chkselect"); Label lblSizeDimn = (Label)SizeGrid.Rows[i].FindControl("lblSizeDimn"); Label lblplacement = (Label)SizeGrid.Rows[i].FindControl("lblplacement"); string maincat = grdSizeSensitivity.Rows[i].Cells[1].Text; string size = SizeGrid.Rows[i].Cells[2].Text; DropDownList drpdimn = (DropDownList)SizeGrid.Rows[i].FindControl("drpsezesenmaincat"); string itemname = SizeGrid.Rows[i].Cells[3].Text; TextBox txtprice = (TextBox)SizeGrid.Rows[i].FindControl("txtprice"); inventory.Update_Size(int.Parse(drpStyleno.SelectedValue), maincat, size, drpdimn.SelectedItem.Text, itemname, lblplacement.Text.Trim(), txtprice.Text.Trim(), int.Parse(status), lblSizeDimn.Text);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)