Пример #1
0
 public void DoDeletePrinted()
 {
     var ta = new DsMasterTableAdapters.TEMPBCODEPRINTTableAdapter { Connection = { ConnectionString = _constr } };
     ta.DeletePrinted();
 }
Пример #2
0
 public DsMaster.TEMPBCODEPRINTDataTable SelectUnPrinted()
 {
     var ta = new DsMasterTableAdapters.TEMPBCODEPRINTTableAdapter { Connection = { ConnectionString = _constr } };
     var dt = new DsMaster.TEMPBCODEPRINTDataTable();
     ta.FillByNotPrinted(dt);
     return dt;
 }
Пример #3
0
 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();
     }
 }