コード例 #1
0
        public DataTable PopulateProduct_bal()
        {
            try
            {
                impagencydal = new impagency_dal();
                return(impagencydal.PopulateProduct_dal());
            }

            catch (Exception Ex)
            {
                ErrMessage = Ex.Message;
                return(null);
            }
        }
コード例 #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);
     }
 }
コード例 #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("");
     }
 }
コード例 #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("");
     }
 }
コード例 #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);
     }
 }