....
This commit is contained in:
@@ -126,6 +126,9 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>dsMSSQL.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dsReport.cs">
|
||||
<DependentUpon>dsReport.xsd</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dsReport.Designer.cs">
|
||||
<DependentUpon>dsReport.xsd</DependentUpon>
|
||||
<AutoGen>True</AutoGen>
|
||||
|
||||
@@ -62,12 +62,12 @@ namespace FBS0000
|
||||
var uid = GetUIDValue();
|
||||
if (cmbType.SelectedIndex == 0)
|
||||
{
|
||||
taDay.Fill(this.dsReport.Holydata_Day, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortTimeString());
|
||||
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
|
||||
{
|
||||
taTime.Fill(this.dsReport.Holydata_Time, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortTimeString());
|
||||
taTime.Fill(this.dsReport.Holydata_Time, FCOMMON.info.Login.gcode, uid, sd.ToShortDateString(), ed.ToShortDateString());
|
||||
dsReport.Holydata_Day.Clear();
|
||||
dsReport.Holydata_Day.Merge(dsReport.Holydata_Time);
|
||||
dsReport.Holydata_Day.AcceptChanges();
|
||||
|
||||
15
SubProject/FBS0000/dsReport.cs
Normal file
15
SubProject/FBS0000/dsReport.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace FBS0000
|
||||
{
|
||||
|
||||
|
||||
partial class dsReport
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
namespace FBS0000.dsReportTableAdapters {
|
||||
|
||||
|
||||
public partial class holydataTableAdapter {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user