private void CreateList()
 {
     CustomerService cusContext = new CustomerService(new BizCustomerOrder());
     ddlCusContacts.DataSource = cusContext.GetCustomerList();
     ddlCusContacts.DataValueField = "CustomerID";
     ddlCusContacts.DataTextField = "ContactName";
     ddlCusContacts.DataBind();
 }
 private void GetHttpGetParam()
 {
     if(Request["customerid"]!=null)
     {
         labContactID.Text = Request["customerid"];
         CustomerService cusContext = new CustomerService(new BizCustomerOrder());
         object customerName = cusContext.GetCustomerByCustomerID(labContactID.Text);
         if(customerName!=null)
         {
             txtContactName.Text = customerName.ToString();
         }
     }
 }
 private void GetOrderDataByCus(string CusID)
 {
     CustomerService cusContext = new CustomerService(new BizCustomerOrder());
     gvOrderDetails.DataSource = cusContext.GetByCusID(CusID);
     gvOrderDetails.DataBind();
 }