How To Pass Parameters To .rdlc Reports Using Asp.Net C# . Sql Query Using All Field Select.
HTML CODING
First - Add New Web Form - Name - Crystal Report
Next - Add - Sql Server Database - Click - Add
Click - Yes Button - Add to App Data Folder
Next - Select Table - Right Click - Add New Table

Next - click - Update - Update Database - Refresh Server Explorer

Next - Right Click - bill Table - Click - Show Table Data
Next - Select the Web Form - Select - ToolBox - Reporting - Select - Report Viewer
Next - Select - Solution Explorer - Right Click - Add -Add New Item - Select Report - Add
Next - Select - New - DataSet From Report.rdlc File
Next - Select - Database Name - Click - Next Button
Next - Select - DataConnectinString - Click - Next Button
Next - Select - Table - Required Table Name - Click - Finish Button
Next - Open Window Form - Select Name , Data Source , Available Datasets Click - OK Button
Next - Go To - Report.rdlc - Select - DataSet1
Next - Select - Toolbox - Select Table Tool
Next - Right Click the Table - Add Field Name - billno
Next - Right Click the Table - Add Field Name - name
Next - Right Click the Table - Add Field Name - amount
Display the Added Fields
Next - Select - DataBaseDataSet.xsd - Right Click - Fill GetData() - Click - Configure
Next - Select - All Table Fields - Finish Button Click
Next - WebForm - Add - ScriptManager From - ToolBox
Next - Select Report Viewer - Right Click - Choose Report - Report.rdlc
Automatically - Added the ObjectDataSource
Next - Select the WebForm - Right Click - View in Browser - Click
Display the All DataBase Field Vaues
Select - PDF - Click PDF Formate Bill Generate & Download
Pdf Formate Bill
0 comments:
Post a Comment