protected void Page_Load(object sender, EventArgs e) { ReportViewer1.SizeToReportContent = true; ReportViewer1.DataBind(); ReportViewer1.LocalReport.Refresh(); // TextBox t1 = (TextBox)ReportViewer1.FindControl("txt_date"); // t1.text= t1.text+session["date"].ToString(); // }
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="339px" InteractiveDeviceInfos="(Collection)" ShowExportControls="False" ShowFindControls="False" ShowPageNavigationControls="False" ShowPrintButton="False" ShowRefreshButton="False" ShowZoomControl="False" style="margin-top: 10px" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="731px" ShowBackButton="False"> <LocalReport ReportPath="StmtRpt.rdlc"> <DataSources> <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" /> </DataSources> </LocalReport> </rsweb:ReportViewer>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)