i am passing date in querystring, makes a query to DB which use this date to return a dataset, and than i simply bind this datatable to my report..evry thing ok..but when i press the navigation button (next) it give the error (Load Report Failed) i guess its due to the dates in the url converts to %2f.
can any one tell me the workaround for it...
我的午餐是(因为报告首次装满了罚款)
http://localhost:8186/Report.aspx?RptType=1&fromdate=5/1/2012&todate=5/31/2012
当点击下点时,尿液也一样。
http://localhost:8186/Report.aspx?RptType=1&fromdate=5%2f1%2f2012&todate=5%2f31%2f2012
我的法典是:
string fromdate = Request.QueryString.Get("fromdate");
string todate = Request.QueryString.Get("todate");
Dataset ds = sbg_JobSeeker.GetJobSeakerDetailInfo(fromdate, todate);
ds.Tables[0].TableName = "sbg_JobSeeker";
reportSource.ReportDocument.Load(path + "Applicants.rpt");
reportSource.ReportDocument.SetDataSource(ds.Tables[0]);