Skip Navigation LinksHome > Products > AspxFormsGen 2.0 > Tutorial

AspxFormsGen Tutorial


Tutorial Requirements
  • AspxFormsGen
  • Visual Studio 2005
  • MS SQL Server 2005
  • AdventureWorks database
  • Be sure you have "sysadmin" server role in your MS SQL 2005
This tutorial will show how to use AspxFormsGen. Operation of Visual Studio 2005 and MS SQL Server 2005 are not fully covered in this tutorial. Both Visual Studio 2005 and MS SQL 2005 are products of Microsoft, documentation on how to use these products can be found at http://www.microsoft.com

If you don't have the AdventureWorks database, please download it here. Make sure to download the case-insensitive-colation version.

Naming Conventions
  • [TableName]Webform.aspx - Used for regular unbound webforms.
  • [TableName]FormView.aspx - Used for read-only bound webforms with FormView control.
  • [TableName]FormViewAdd.aspx - Used for bound webforms with FormView control that has Insert functionality.
  • [TableName]FormViewEdit.aspx - Used for bound webforms with FormView control that has Update functionality.
  • [TableName]Gridview.aspx - Used for read-only bound webforms with Gridview control (with View Details link).
  • [TableName]GridviewAdmin.aspx - Used for bound webforms with Gridview control. Gridview contains an Edit link that redirects to another page. Gridview also contains a Delete link. The webform also contains an Add New Record link.
  • aspx_[StoredProcedureName] - Used for generated stored procedure. The "aspx_" prefix is the default prefix for stored procedures that are generated. You can change this prefix in the AspxFormsGen window.
  • txt[ColumnName] - Used as ID for generated TextBox controls.
  • ddl[ColumnName] - Used as ID for generated DropDownList controls.
  • cb[ColumnName] - Used as ID for generated CheckBox controls.
  • rfv[ColumnName] - Used as ID for generated RequiredFieldValidator controls.
  • cv[ColumnName] - Used as ID for generated CompareValidator controls.
  • dropDownData4[TableName] - Used as ID for generated SqlDataSource controls that retrieves data for a DropDownList control.
  • sqlFormViewDataSource - Used as ID for generated SqlDataSource controls used for a FormView control's data source.
  • sqlGridViewDataSource - Used as ID for generated SqlDataSource controls used for a GridView control's data source.



Installing AspxFormsGen
  1. Double click the AspxFormsGen ".msi" file that your purchased or downloaded. This will walk you through a series of standardardized wizard installation forms (figure 1.)


    (Figure 1)

  2. Click Next.
  3. Select a folder where you want the AspxFormsGen application to be installed. For most parts, the default folder is sufficient. Then click next. (figure 2.)


    (Figure 2)

  4. Click next again to confirm the installation. (figure 3.)


    (Figure 3)

  5. Installation of AspxFormsGen is performed. (figure 4.)


    (Figure 4)

  6. When installation is complete click close. (figure 5.)


    (Figure 5)

  7. AspxFormsGen was successfully installed in the folder you specified during installation. A shortcut icon was also created in your desktop and in the start programs menu. To start using AspxFormsGen, simply double click the shortcut in your desktop or from your program menu.