Month View in the Gantt Chart and SQL 2005 database
Details
Date:10/18/2008 10:04:52 AM
Product:ActiveGanttCSA Gantt Chart / Scheduler Component
Framework:.Net Framework 1.0
Version:2.6.12
User's Development Environment:C# Visual Studio 2005
Subject:ActiveGantt implementation
Question

Would it be possible to receive some info on implementing ActiveGantt into a C# project. I intend to show data stored in a SQL 2005 DB in a month view chart.

Answer

Answer:

You have to update to version 2.8.0 because we are no longer supporting version 2.6.12. Once you've upgraded please have a look at the Hierarchical Project Management example in the demo that you can download from:

http://www.sourcecodestore.com/TrialDownloads/ActiveGantt/Default.aspx

In order to use SQL server you must change the "using System.Data.OleDb;" statements to "using System.Data.SqlClient;", OleDbConnection variable definitions to SqlConnection, OleDbCommand variables to SqlCommand, OleDbDataReader to SqlDataReader, and so forth. It is very simple. The reason we use Microsoft Access in our demos is because it is easier to install.

You only have to change using statements and variable definitions because the logic is the same.

 

All trademarks are property of their respective holders, and are only used to directly describe the products and services being provided. Their use in no way indicates any relationship or endorsement between The Source Code Store LLC and the holders of said trademarks.