예제 #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();
     }
 }