protected void lnk_Click(object sender, EventArgs e) { for (int i = 0; i < 10; i++) // Loop for Row { string txtvalue1 = "TextBoxCol_" + i.ToString(); TextBox txt1 = (TextBox)Page.FindControl(txtvalue1); if (txt1 != null) { try { string strText1 = txt1.Text; // int ItemId = TaxItemMasterPayrollDB.AddItem(str); } catch (Exception ex) { throw ex; //lbl_error.Text = "There is a Problem while creating Account "; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)