aspnet-400722-components-gantt-get-started.md
This topic contains step-by-step instructions on how to use ASPxGantt and demonstrates its functionality.
Step 1. Create a new website or open an existing website in Visual Studio. Drag the ASPxGantt item from the Visual Studio toolbox onto the form or add the control in a page’s markup.
Step 2. Use the scripts from the Microsoft SQL Server topic to create a new Microsoft SQL Server database (the DevelopmentGantt database).
Step 3. Select and drop the SQLDataSource component from the Visual Studio toolbox onto your form.
Step 4. Configure the data source:
Step 5. Specify the TasksDataSourceID, DependenciesDataSourceID, ResourcesDataSourceID, and ResourceAssignmentsDataSourceID properties to assign the SqlDataSource instances to the Gantt control.
Step 6. Specify columns in the Gantt’s task list (SettingsTaskList).
Step 7. Specify mappings (Mappings) for the Gantt tasks (Task), dependencies (Dependency), resources (Resource), and resource assignments (ResourceAssignment).
Step 9. Run the project.
See Also