DropDownList localDropDownRuleNumber = (DropDownList)grvStudentDetails.Rows[rowIndex].Cells[1].FindControl("dropDownRuleNumber"); TextBox localTextBoxStartDate = (TextBox)grvStudentDetails.Rows[rowIndex].Cells[2].FindControl("StartDateTime"); DropDownList localDropDownStartHour = (DropDownList)grvStudentDetails.Rows[rowIndex].Cells[2].FindControl("StartHourDropDown"); DropDownList localDropDownStartMinute = (DropDownList)grvStudentDetails.Rows[rowIndex].Cells[2].FindControl("StartMinute"); DropDownList localDropDownStartSec = (DropDownList)grvStudentDetails.Rows[rowIndex].Cells[2].FindControl("StartSS");
drCurrentRow = dtCurrentTable.NewRow(); drCurrentRow["RowNumber"] = i + 1;
dtCurrentTable.Rows[i - 1]["Col1"] = localDropDownRuleNumber.SelectedValue; dtCurrentTable.Rows[i - 1]["Col2"] = localTextBoxStartDate.Text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)