Exemplo n.º 1
0
        public string UpdateCustomer(EntCustomerDetails objentcustomerDetails)
        {
            try
            {
                DlCustomerDetails objDLCustomerDetail = new DlCustomerDetails();
                return objDLCustomerDetail.UpdateCustomer(objentcustomerDetails);
            }
            catch (Exception ex)
            {

                throw ex;
               //MessageBox.Show(ex.Message.ToString());

            }

            finally
            {

                // objDLCustomerDetail = null;

            }
        }
Exemplo n.º 2
0
        public string SaveCustomer(EntCustomerDetails objentcustomerDetails)
        {
            string msg = "Saved";
            try
            {
                DlCustomerDetails objDLCustomerDetail = new DlCustomerDetails();
                return objDLCustomerDetail.SaveCustomer(objentcustomerDetails);
            }
            catch (Exception ex)
            {

               //MessageBox.Show(ex.Message.ToString());

            }

            finally
            {

                // objDLCustomerDetail = null;

            }
            return msg;
        }
Exemplo n.º 3
0
 public DataTable searchCustomer(EntCustomerDetails objent)
 {
     DlCustomerDetails objDAL = new DlCustomerDetails();
     return objDAL.SearchCustomer(objent);
 }
Exemplo n.º 4
0
 public DataTable getCustomerNames()
 {
     DlCustomerDetails objDAL = new DlCustomerDetails();
     return objDAL.getCustomernames();
 }
Exemplo n.º 5
0
 public DataTable getCustomerId()
 {
     DlCustomerDetails objDLCustomerDetails = new DlCustomerDetails();
     DataTable dt = objDLCustomerDetails.getCustomerId();
     return dt;
 }
Exemplo n.º 6
0
 public DataTable BindFullGrid()
 {
     DlCustomerDetails objDAL = new DlCustomerDetails();
     return objDAL.BindFullGrid();
 }