private void GetFinancialYear() { DataTable dt = Yearmaster.GetFinancialYear(); if (dt.Rows.Count > 0) { ddlFinancialYear.DataSource = dt; ddlFinancialYear.DataBind(); } }
private void GetFinancialYear() { DataTable dt = Yearmaster.GetFinancialYear(); if (dt.Rows.Count > 0) { ddlFinancialYear.DataSource = dt; ddlFinancialYear.DataBind(); ddlFinancialYear.Items.Insert(0, new ListItem("-Select Year-", "0")); } }
public DataTable BindGVFy() { DataTable dt = Yearmaster.GetFinancialYear(); return(dt); }