Search
Monday, January 05, 2009 ..:: Wiki ::.. Register  Login
C# ASP.NET Example

Downloads:

Creating the code

This example is a very simple ASP.NET application that uses Windward Reports.

Running your web app from VS 2005
We will run the program from Visual Studio 2005 using VS 2005’s built in web server. Later in this document it shows how to run this web app on IIS.
  1. Install VS 2005 and .NET 2.0. This step is not shown as we assume you have already done this.

  2. In VS 2005 select File, New, WebSite. Give it the name Windward and click OK. (Note: do not use the .sln file in sample 18, VS 2005 hard codes full paths and therefore it will not work.)

  3. Copy the sample 18 files to the new Windward website directory. Do not copy the sln file (which is removed in the latest releases).


    to

  4. Delete the files Default.aspx and Default.aspx.cs from the project in Solution Explorer and add the directory images. If you forget the folder images then html reports with images in them will take a long time and then fail.

  5. Right clock the Windward Web site/project in Solution Explorer, then click Add Existing Item. Then add the 5 files just moved to the website folder.

  6. In the solution explorer right click on the “Windward” web site/project and then click on Add ASP.NET Folder, Bin. This will create the Bin folder.

  7. Copy the Windward dlls (all in the dll folder of the installed Windward Reports folder) to the newly created Bin directory:


    to:

  8. Copy the license key from the email it is in to the Web.Config file:


    to:

  9. Run the web app and you will get (because there is no Default.aspx) a file listing.

  10. Click ReportForm.aspx and you will get the first page of the report web app:

  11. Click Generate Report and you get the report:

  12. That’s it, you are now running the web application.

For instructions on running the above application on IIS please go to Running you ASP.NET application on IIS




 |   |  View Topic History  |
Membership Membership:
Latest New User Latest: GrahamA
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 56

People Online People Online:
Visitors Visitors: 1
Members Members: 0
Total Total: 1

Online Now Online Now:
All contents copyright (c) 2002 - 2008 by Windward Studios, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement