Click here to Skip to main content
15,891,136 members
Articles / Web Development / ASP.NET

Add a Tree Menu to DataGrid Header Text

Rate me:
Please Sign up or sign in to vote.
4.67/5 (15 votes)
9 Nov 2005CPOL1 min read 75.5K   1.3K   78  
This article shows how to add a JavaScript tree menu to a DataGrid head text.
using System;

namespace DataGridWithTreeMesu
{
	/// <summary>
	/// Summary description for Person.
	/// </summary>
	public class Person
	{
		public Person()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		private string _LastName;
		private string _FirstName;
		private string _Date;
		private string _Time;
		private string _PersonID;

		public string LastName
		{
			set {this._LastName = value;}
			get {return this._LastName;}
		}

		public string FirstName
		{
			set {this._FirstName = value;}
			get {return this._FirstName;}
		}

		public string Date
		{
			set {this._Date = value;}
			get {return this._Date;}
		}

		public string Time
		{
			set {this._Time = value;}
			get {return this._Time;}
		}

		public string PersonID
		{
			set {this._PersonID = value;}
			get {return this._PersonID;}
		}

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
M.S.: Computer Science, B.S.: Physics, MCSD: .NET, MCSD: VS 6

Florence currently works at Confident Software, Inc. Atlanta, U.S.A. Besides programming, during her spare time she enjoys opera.

Comments and Discussions