DataGrid Columns .NET assembly is DataGrid Columns Styles software package specifically designed for Windows Forms .NET developers. The software package answers on the question: "How to add Combobox in to DataGrid .NET in Windows Forms?" The assembly allows you to use all strengths of the .NET forms DataGrid control without waiving the user interface elements your customer needs. A column style is an object that defines what the column looks and behaves like, including such things as color, font, and the presence of controls that will handle linked field in a database with the use of a Combo Box, a Check Box and other control.
With a slapdash stare at the DataGrid .NET control (Windows Forms), it is not evident how to implement such columns as a Combobox and/or Checkbox column. How to format the columns; set the width, background color, and other properties, and so on? RustemSoft presents DataGrid Columns package, named DataGrid Columns .NET assembly that accomplishes those tasks.
The .NET Framework includes two types of column-style classes by default: the DataGridTextBoxColumn and DataGridBoolColumn classes. DataGridColumns dynamic link library contains the following DataGrid Column Styles:
XPButton column Style;
Memo column Style;
Button column Style;
DataGrid DateTimePicker column Style;
DateTime Column Style;
Numeric Column Style;
Text Fractions Column Style;
Check Column Style;
Label Column Style;
TextEdit Column Style;
DomainUpDown Column Style;
NumericUpDown Column Style;
Picture Column Style;
DataGrid Print Class.
By using the assembly you can create your own set of DataGridColumnStyle objects that defines custom column styles for the Windows Forms DataGrid control and add them to the GridColumnStylesCollection.
Within the assembly package RustemSoft provides a demonstration on how to customize DataGrid's default behavior allowing you more flexibility in how you can use the DataGrid column styles.
Keywords: combobox, datagrid, .net, vb.net, datagrid.net, datagrid combobox, columns, .net 2.0, .net 2005, combobox.net, Visual Basic, learn VB, VB examples, .net samples, project, Visual Studio
Click to enlarge