Click here to Skip to main content
15,880,503 members
Articles / Desktop Programming / Win32

Dynamically Bound Dictionary to Windows Grid

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
2 Oct 2012CPOL1 min read 16K   163   13  
This article presents a way to display totally dynamic data in a windows grid using a dictionary.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace DynamicBinding
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new DynamicallyBoundForm());
		}
	}
}

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
Software Developer (Senior) Clifford Nelson Consulting
United States United States
Has been working as a C# developer on contract for the last several years, including 3 years at Microsoft. Previously worked with Visual Basic and Microsoft Access VBA, and have developed code for Word, Excel and Outlook. Started working with WPF in 2007 when part of the Microsoft WPF team. For the last eight years has been working primarily as a senior WPF/C# and Silverlight/C# developer. Currently working as WPF developer with BioNano Genomics in San Diego, CA redesigning their UI for their camera system. he can be reached at qck1@hotmail.com.

Comments and Discussions