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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
pradeep kumar72 reputationPosted Apr 7, 2014, 11:06 PM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 7, 2014, 11:06 PM EDT
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.
Abhishek JaiswalRank #126 · 17.5K reputationPosted Apr 8, 2014, 6:57 AM EDT
try this video
http://www.youtube.com/watch?v=ociTNFwKii0
:)