protected void Page_Load(object sender, EventArgs e) { if (Session["FY"] != null) { // strChetanaCompanyName = Session["ChetanaCompanyName"].ToString(); strFY = Session["FY"].ToString(); } else { Session.Clear(); } //Response.Write(strFY); if (!Page.IsPostBack) { DDLScheme.DataSource = Masterofmaster.Get_MasterOfMaster_ByGroup("Scheme").Tables[0]; DDLScheme.DataBind(); DDLScheme.Items.Insert(0, new ListItem("--Select Scheme--", "0")); SetView(); } }
//public void Bind_DDL_ZoneCust() //{ // DDLZone.DataSource = Masters.Get_AreaZone_Zone_SuperZone(0, "Zone"); // DDLZone.DataBind(); // DDLZone.Items.Insert(0, new ListItem("-Select Zone-", "0")); // ddlCustmore.Items.Insert(0, new ListItem("-Select Customer-", "0")); //} //public void Bind_DDL_Customer() //{ // ddlCustmore.DataSource = Masters.Idv_Chetana_Get_ZoneCustomer(Convert.ToInt32(DDLZone.SelectedValue.ToString())); // ddlCustmore.DataBind(); // ddlCustmore.Items.Insert(0, new ListItem("-Select Customer-", "0")); //} public void Bind_DDl_Scheme() { DDLScheme.DataSource = Masterofmaster.Get_MasterOfMaster_ByGroup("Scheme").Tables[0]; DDLScheme.DataBind(); DDLScheme.Items.Insert(0, new ListItem("--Select Scheme--", "0")); }