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; } }
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; } }
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); } }
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(""); } }