otPMS추가(테스트버젼)
This commit is contained in:
@@ -70,7 +70,7 @@ namespace FBS0000
|
||||
taDay.Fill(this.dsReport.Holydata_Day, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortDateString());
|
||||
//this.reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", bsDay));
|
||||
}
|
||||
else
|
||||
else if (cmbType.SelectedIndex == 1) //대체
|
||||
{
|
||||
taTime.Fill(this.dsReport.Holydata_Time, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortDateString());
|
||||
dsReport.Holydata_Day.Clear();
|
||||
@@ -78,10 +78,19 @@ namespace FBS0000
|
||||
dsReport.Holydata_Day.AcceptChanges();
|
||||
//this.reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", bsTime));
|
||||
}
|
||||
else //PMS
|
||||
{
|
||||
var tapms = new dsReportTableAdapters.Holydata_TimePMSTableAdapter();
|
||||
tapms.Fill(this.dsReport.Holydata_TimePMS, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortDateString());
|
||||
dsReport.Holydata_Day.Clear();
|
||||
dsReport.Holydata_Day.Merge(dsReport.Holydata_TimePMS);
|
||||
dsReport.Holydata_Day.AcceptChanges();
|
||||
//this.reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", bsTime));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
this.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);
|
||||
this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.Percent;
|
||||
this.reportViewer1.PageCountMode = Microsoft.Reporting.WinForms.PageCountMode.Actual;
|
||||
|
||||
Reference in New Issue
Block a user