Changeset 864 for Scheduling/trunk/cs/bsdx0200GUISourceCode/DCopyAppts.cs
- Timestamp:
- Jul 13, 2010, 9:07:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DCopyAppts.cs
r859 r864 23 23 private System.Windows.Forms.Label lblProgress; 24 24 private System.ComponentModel.IContainer components; 25 26 delegate DataTable RPMSDataTableDelegate(string CommandString, string TableName);27 25 28 26 … … 197 195 string sSql = "BSDX COPY APPOINTMENTS^" + m_ResourceID + "^" + m_HospLocationID + "^" + sFMBeginDate + "^" + sFMEndDate; 198 196 199 //DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopy");200 //Debug.Assert(dt.Rows.Count == 1);197 DataTable dt = m_DocManager.RPMSDataTable(sSql, "ApptCopy"); 198 Debug.Assert(dt.Rows.Count == 1); 201 199 202 200 // TODO (later): delegate is supposed to support cross thread communication -- but this doesn't work. 203 RPMSDataTableDelegated = new RPMSDataTableDelegate(m_DocManager.RPMSDataTable);204 DataTable dt = d.Invoke(sSql, "ApptCopy");205 Debug.Assert(dt.Rows.Count == 1);201 //m_DocManager d = new RPMSDataTableDelegate(m_DocManager.RPMSDataTable); 202 //DataTable dt = d.Invoke(sSql, "ApptCopy"); 203 //Debug.Assert(dt.Rows.Count == 1); 206 204 207 205 DataRow dr = dt.Rows[0];
Note:
See TracChangeset
for help on using the changeset viewer.