I have a table(table_1(userid,datetime)) which has 30,000 records.
Now I have written a function in which I declare table(@table_2(userid,datetime)) like table_1.
insert @table_2
select * from table_1
Now @table_2 and table_1 has same number of records.
in my function I want to select userid bases of datetime which one is better i select from @table_2 or table_1
actually when I create report in win form it gives an error "The Operation Time Out".If I select records from table_1 and make some calculation for report date wise.
In winform
public void getReportFrmServer(string report, string[] param)
{
try
{
this.reportViewer1.ServerReport.ReportPath = "/Report From_Iris_New/" + report;
ReportParameter[] parameter = new ReportParameter[1];
parameter[0] = new ReportParameter("startDate", param[0]);
this.reportViewer1.ServerReport.SetParameters(parameter);
this.reportViewer1.RefreshReport();
}
catch (Exception exception)
{
MessageBox.Show(exception.Message);
}
}
it gives an error "The Operation Time Out"
I try to generate report from sql server business intelligence development studio
it generates report so I think ReportViewer does render report it gives error "The Operation Time Out"