protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["cust_id"] == null && Session["emp_id"] == null && Session["dvr_id"] == null && Session["admin_id"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         int         cust_id = Convert.ToInt32(Session["cust_id"].ToString());
         Email_order cust    = new Email_order();
         Email_order data    = cust.getOrder(cust_id);
         lbl_custname.Text = null;
         lbl_custname.Text = data.cust_name.ToString();
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        // only commenet the first line away when integration
        // if statement add to every single page there nids to lock in then can see
        //Session["cust_id"] = 5;
        if (Session["cust_id"] == null && Session["emp_id"] == null && Session["dvr_id"] == null && Session["admin_id"] == null)
        {
            Response.Redirect("Login.aspx");
        }
        if (!Page.IsPostBack)
        {
            int         cust_id = Convert.ToInt32(Session["cust_id"].ToString());//Request.QueryString["cust_id"];
            Email_order cust    = new Email_order();
            Email_order data    = cust.getOrder(cust_id);

            lbl_custid.Text    = data.cust_id.ToString();
            tb_custname.Text   = data.cust_name.ToString();
            tb_email.Text      = data.email.ToString();
            tb_contactno.Text  = data.contact_no.ToString();
            lbl_mbrstatus.Text = data.mbr_status.ToString();
        }
    }