Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["UserID"] == null)
     {
         Response.Redirect(CV.LoginPageURL);
     }
     if (!Page.IsPostBack)
     {
         FillDropDownList(Convert.ToInt32(Session["UserID"]));
         if (Request.QueryString["CustomerWiseProductID"] != null)
         {
             LoadControls(Convert.ToInt32(Request.QueryString["CustomerWiseProductID"]));
             //lblPageHeader.Text = "CustomerWiseProduct Edit";
             CommanFiilMethod.FillDropDownListProductID(ddlProduct, Convert.ToInt32(Session["UserID"]));
         }
         else
         {
             //lblPageHeader.Text = "CustomerWiseProduct Add";
         }
     }
 }
Esempio n. 2
0
 protected void ddlCustomer_SelectedIndexChanged(object sender, EventArgs e)
 {
     CommanFiilMethod.FillDropDownListProductID(ddlProduct, Convert.ToInt32(Session["UserID"]));
 }