// PlaceHolder objPlace = new PlaceHolder();
Table objT = (Table)placeHolder.FindControl("tblPerson");
foreach (TableRow objTR in objT.Rows)
{
foreach (TableCell Cells in objTR.Cells)
{
TextBox txt = (TextBox)Cells.FindControl("textbox1");
TextBox kishan = FindControl(name_id)as TextBox;
string query = "select nid from mstInvestor";
//Find Textbox Id From Second Column And Find Name By Removing "td_"//Database Query(Select) --Find nid//Find Value Of Textbox(Rs)//Query Insert
}
}
//Get ID of All TextBox Generate Dynamically In Usercontrol//For(i=0;i<txtbox; i++)//{Store In Database As Debit}
}
Pranay RanaRank #735 · 3.2K pointsPosted Jul 8, 2015, 4:38 AM EDT
Pranay RanaRank #735 · 3.2K pointsPosted Jul 8, 2015, 4:50 AM EDT
Kishan shekhada33 pointsPosted Jul 8, 2015, 4:46 AM EDT
Kishan shekhada33 pointsPosted Jul 8, 2015, 4:55 AM EDT
// PlaceHolder objPlace = new PlaceHolder(); Table objT = (Table)placeHolder.FindControl("tblPerson"); foreach (TableRow objTR in objT.Rows) { foreach (TableCell Cells in objTR.Cells) { TextBox txt = (TextBox)Cells.FindControl("textbox1"); TextBox kishan = FindControl(name_id)as TextBox; string query = "select nid from mstInvestor"; //Find Textbox Id From Second Column And Find Name By Removing "td_" //Database Query(Select) --Find nid //Find Value Of Textbox(Rs) //Query Insert } } //Get ID of All TextBox Generate Dynamically In Usercontrol //For(i=0;i<txtbox; i++) //{Store In Database As Debit} }