none
delete timesheetline failed RRS feed

  • Question

  • Hi,

    when I try to delete a timesheetline,I've found that the timesheetrow I deleted still existed in TimesheetDataSet.lines, but in the table TimesheetDataSet.Actuals the actualline is deleted, Why? Following are my codes. Hope someone can help me. Thanks.

    WebSvcTimeSheet.TimesheetDataSet.LinesRow delLineRow = timesheetDs.Lines.FindByTS_LINE_UID(tslineuid);      
     timesheetDs.Lines.RemoveLinesRow(delLineRow);

     Guid jobUid = Guid.NewGuid();
     timeSheet.QueueUpdateTimesheet(jobUid, timesheetuid, timesheetDs);
     timeSheet.WaitForQueue(queueSystem, jobUid);

    Monday, December 19, 2011 8:59 AM

All replies