Unifosys

Organization Chart from Database/Datatable/XML Chart4.NET

 Organization Chart from Database using Chart4.NET Organization Chart Control

 Chart4.NET - Documentation  | Online-Demo  | Screens
Questions or suggestions? Quick Contact

The Chart4.NET component is a .NET assembly that you can use in winform and ASP.NET (webform) projects.


Database Sample (winform):

For webform sample and online demo, goto Database Sample (webform)

New Chart4.NET control has better support for node tags and tag based (group) customization.
Download source code for Winform database project.

org chart customization (database sample)

Database Setup:

  1. Open SQL Server Management Studio or a Query Editor.
  2. Create a database named 'test1'.
  3. Copy the table creation SQL below and paste the SQL into the query editor window and 'Execute' to create the table.
    CREATE TABLE [dbo].[Parc1]( [id] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [pid] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [txt] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [duty] [varchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [value] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [tooltip] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [imagefile] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [category] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY]
  4. Insert some data similar to the one in the following table: org chart in toolbox
    You can copy and paste the data to a database table from the 'DB Setup' screen within the Database Sample main screen: org chart customization (database setup)


Related Articles

  • How To Create Organization Chart from Mutiple Tables

  • Sample Downloads

  • Download an appropriate sample here (no installation required): Sample Downloads
        or directly here: Winform sample project | Winform database project | ASP.NET sample project | ASP.NET database project.
  • Web Control Demo | Web Control Demo (Advanced) | Web Control Demo (Database)


  • Library Downloads

  • You can download the assembly alone from the following link: Library Downloads
  • © 2012, Unifosys