Hello
I use rdlc report in C# . I have a Table Item in the form to show all
record but it show all record except first record .
Can any one help me ?
this is my code:
Code:
private void DocReportOnlyFixSalaryView_Load(object sender, EventArgs e)
{
OleDbConnection con = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|" + "\\DB\\" + Class.Global.CurrentYear);
OleDbDataAdapter da = new OleDbDataAdapter("SELECT * from DocReportFixSalaryJoda", con);
DataSet ds = new DataSet();
da.Fill(ds);
ds.Tables[0].TableName = "DataTableDocReportFixSalaryJoda";
reportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("DataSet1", ds.Tables[0]));
da.Dispose();
con.Close();
this.reportViewer1.RefreshReport();
}