public void DoDeletePrinted() { var ta = new DsMasterTableAdapters.TEMPBCODEPRINTTableAdapter { Connection = { ConnectionString = _constr } }; ta.DeletePrinted(); }
public DsMaster.TEMPBCODEPRINTDataTable SelectUnPrinted() { var ta = new DsMasterTableAdapters.TEMPBCODEPRINTTableAdapter { Connection = { ConnectionString = _constr } }; var dt = new DsMaster.TEMPBCODEPRINTDataTable(); ta.FillByNotPrinted(dt); return dt; }
public string DoSave(DsMaster.TEMPBCODEPRINTDataTable dt) { try { var ta = new DsMasterTableAdapters.TEMPBCODEPRINTTableAdapter {Connection = {ConnectionString = _constr}}; ta.Update(dt); return "1"; } catch (Exception ex) { return ex.ToString(); } }