Spread for ASP.NET 10 Product Documentation
Adding Spread to a Project

This and all the tutorials assume that you have Visual Studio .NET installed on your system, and Internet Information Services (IIS) installed and running on your system as the local host server.

Perform the steps in this tutorial to set up an ASP.NET Visual Studio .NET project that contains the Spread for ASP.NET component.

  1. Start Visual Studio .NET.
  2. From the File menu, choose New, Project.
  3. In the New Project dialog,
  4. In the Project Types list, choose either Visual Basic Projects or Visual C# Projects depending on the language you are using.
  5. In the Templates list, choose ASP.NET Web Application.
  6. In the Location box, leave the location path as http://localhost/ unless you prefer to save this project to another server. Change the project name from WebApplication1 to the name of your choice.
  7. Click OK.
  8. In the Solution Explorer, right-click on the form name, WebForm1.aspx. Choose Rename from the pop-up menu, then type the new form name you prefer for the new form name.
  9. If your project does not display the Solution Explorer, from the View menu, choose Solution Explorer.
  10. If the Toolbox is not displayed, from the View menu choose Toolbox.
  11. In the Toolbox, look in the Web Forms category (or in other categories if you have installed Spread and placed the toolbox icon in a different category). If the Spread component is not in the Toolbox, perform steps 12 through 14. Otherwise, proceed to step 15.
  12. Right-click in the Toolbox, and from the pop-up menu choose Customize Toolbox.
  13. In the Customize Toolbox dialog, click the .NET Framework Components tab.
  14. In the .NET Framework Components tab,
    1. Click Browse.
    2. Browse to the installation path for the Spread for ASP.NET component. Once there, select FarPoint.Web.Spread.dll and click Open.
    3. The FpSpread component is now displayed in the list of components. Click OK.
  15. In the Toolbox under Web Forms or another tab, select the FpSpread component.
  16. On your form, draw an FpSpread component.
  17. Save your project.

Your project should now look similar to the following image:

You have added the Spread component to the project.

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback