Query about C#
I want to generate a Report in C#.. Step by step process.. I am Using .Net 3.5.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Abhishek JaiswalPosted Apr 8, 2014, 10:57 AM
try this video
http://www.youtube.com/watch?v=ociTNFwKii0
:)
Munesh SharmaPosted Apr 8, 2014, 3:06 AM
Step-1 Create a new website using Visual Studio.
Step-2 Right click your website name in solution explorer. click Add New Item. The Add New Item dialog Box appears, Click on CrystalReport and then Add.
Step-3Crystal Report Gallery appears. Choose As a Blank Report Click Ok
Step-4Database Expert Dialog Box Appears Expand Create New Connection Expand on OLE DB(ADO) Choose your Data Provider..(Here, Microsoft OLE DB Provider for SQL Server) Click NEXT Write your Server name. Your UserId and Password Choose your Database Click Finish
Step-5Under OLE DB(ADO) you will see that the database that you choose earlier is nw visible. Expand it. Choose your table and click on > button. Click on OK.
Step-6Under Field Explorer tab, you can see the name of your selected table. Drag the columns to the specified columns in the Report.
Step-7Click on the Main Report Preview to see the preview of the report.
Step-8Go to your Default.aspx, Drag CrystalReportViewer Control from Crystals Report Category Press F4 to Open the Properties Window, Specify its ReportSourceID Property to the Report You have created earlier.
Step-9 Press F5 to debug your Application.
pradeep kumarPosted Apr 8, 2014, 3:06 AM