protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Common.FillDropDownList(objMasMgr.SelectLoanType(0), ddlLoanType, "LOANTYPENAME", "LOANTYPEID", true, "Select"); } }
private void OpenRecord() { dtLoanType = objPayrollMgr.SelectLoanType(0); grLoanType.DataSource = dtLoanType; grLoanType.DataBind(); foreach (GridViewRow gRow in grLoanType.Rows) { //gRow.Cells[3].Text = Convert.ToString(Math.Round(Convert.ToDouble(Common.ReturnZeroForNull(gRow.Cells[3].Text)), 2)); } dtSalHead = objPayrollMgr.SelectSalaryHead(0, ""); this.Bind_DdlSalaryHead(); }