![]() ![]() ![]() ![]() Private void frmCrystalReportViewer_Load(object sender, EventArgs e) Public partial class frmCrystalReportViewer : Form Open the Code window of the WebForm and write the following code. Expand ADO.NET Datasets and select the table.Select Report Layout, ProjectData, ADO.NET Datasets.Right Click Solution Explorer -> Add -> Add New Item -> choose Crystal Report.Add new Connection in the Server Explorer and expand the connection to retrieve the database tables and choose the required table and drag and drop it in the Dataset xsd pane.Right Click Solution Explorer -> Add -> Add New Item -> choose DataSet.Create a Dataset and define the schema by drag and drop the database table from Server Explorer.The Crystal Report is a Reporting Application that can generate reports from various Data Sources.ĭrag and drop CrystalReportViewer control from the toolbox on the window Form. The CrystalReportViewer Control in C#.Net
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |