Example #1
0
 public DataTable SDOSearch(sdo_Prop sdoprop)
 {
     try
     {
         return(SqlHelper.ExecuteDataset(com.con, "usp_sdo_search", new object[] { sdoprop.SDOCode, sdoprop.SDOName }).Tables[0]);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #2
0
 public string SDODelete(sdo_Prop sdoprop)
 {
     try
     {
         return(SqlHelper.ExecuteDataset(com.con, "usp_sdo_delete", new object[] { sdoprop.SDOCode }).Tables[0].Rows[0][0].ToString());
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #3
0
 public DataTable SDOSearch(sdo_Prop sdoprop)
 {
     try
     {
         sdodal = new sdo_dal();
         DataTable dt = sdodal.SDOSearch(sdoprop);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
Example #4
0
 public string SDODelete(sdo_Prop sdoprop)
 {
     try
     {
         sdodal = new sdo_dal();
         string strMsg = sdodal.SDODelete(sdoprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }