A look at SAP Crystal Reports for Visual Studio 2010
page 2 of 6
by Vince Varallo
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 26476/ 46

Create a New Web Application in Visual Studio 2010

Before getting into the sample code you should first create a new ASP.NET web application using Visual Studio 2010.  Follow these steps to create the solution.

1.    Launch Visual Studio 2010.

2.    Select FileàNew Web Site… from the menu.

3.    Click on Visual C# from the list of installed templates.

4.    Select ASP.NET Web Site from the list of templates.

5.    Set the Web Location drop down to File Location.

6.    Change the name of the web site to "C:\...\Documents\Visual Studio 2010\WebSites\SAPCrystalReports2010" where … points to your user path.

7.    Click the OK button.

The new web site should be created.  In Visual Studio 2010 when you create a new web site, by default, Visual Studio will add the Default.aspx and web.config files but also a host of other files that are there for best practice purposes such as a master page, an about page, and a Scripts and a Styles folder.  If you prefer not to have these files and folders created then choose the "ASP.NET Empty Web Site" template when creating a new site.


View Entire Article

User Comments

Title: Need another sample   
Name: Matt Slay
Date: 2010-07-21 5:29:44 AM
Comment:
Nice intro showing how it all from within CR, but I'd like to see a sample where I had data from a LINQ query (EF or Linq To Sql) or even DataTables, where the querying and filtering happens in code inside my DAL, and then how that data can be passed into the report.

Product Spotlight
Product Spotlight 



Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 7:24:00 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search