Esempio n. 1
0
        public DataTable PopulateProduct_bal()
        {
            try
            {
                impagencydal = new impagency_dal();
                return(impagencydal.PopulateProduct_dal());
            }

            catch (Exception Ex)
            {
                ErrMessage = Ex.Message;
                return(null);
            }
        }
Esempio n. 2
0
 public DataTable ImpAgencySearch(impagency_prop impagencyprop)
 {
     try
     {
         impagencydal = new impagency_dal();
         DataTable dt = impagencydal.ImpAgencySearch(impagencyprop);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
Esempio n. 3
0
 public string ImpAgencyPChildInsert_bal(int product, int num, int maxid)
 {
     try
     {
         impagencydal = new impagency_dal();
         string strMsg = impagencydal.ImpAgencyPChildInsert(product, num, maxid);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }
Esempio n. 4
0
 public string ImpAgencyDelete(impagency_prop impagencyprop)
 {
     try
     {
         impagencydal = new impagency_dal();
         string strMsg = impagencydal.ImpAgencyDelete(impagencyprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }
Esempio n. 5
0
 public DataTable PopulateProductChild_dal(int id)
 {
     try
     {
         impagencydal = new impagency_dal();
         DataTable dt = impagencydal.PopulateProductChild_dal(id);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }