<table id="tab1" runat="server"> <tr> <td> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" ViewStateMode="Enabled" AutoDataBind="true" Height="50px" ReportSourceID="CrystalReportSource1" Width="350px" /> <CR:CrystalReportSource ID="CrystalReportSource1" runat="server"> <Report FileName="employee.rpt"></Report> </CR:CrystalReportSource> </td> </tr> </table> </ContentTemplate> </asp:UpdatePanel>
CrystalReportSource1.Report.FileName=""; CrystalReportSource1.Report.FileName = "employee.rpt"; CrystalReportSource1.ReportDocument.Database.Tables[0].SetDataSource(dt); CrystalReportSource1.DataBind(); upd_grid.Update();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)