The task-based help assumes that you are familiar with programming in Visual Studio .NET, and know how to use the C1TrueDBGrid control in general. If you are unfamiliar with the ComponentOne TrueDBGrid for .NET product, please see the C1TrueDBGrid Tutorials first.
Each topic in this section provides a solution for specific tasks using the ComponentOne TrueDBGrid for .NET product.
Each task-based help topic also assumes that you have created a new .NET project. For additional information on this topic, see Creating a .NET 2.0 Project.
Some of the examples reference the TDBGDemo.mdb which is installed in C:\Program Files\ComponentOne Studio.NET 2.0\common by default.
Accessing the TrueDBGrid Designer
Adding a Gradient Fill to a Column
Adding a New Row to C1TrueDBGrid
Adding Custom Error Checking to C1TrueDBGrid
Changing the Column Order in the Grid
Disabling Editing in a Specified TrueDBGrid Cell
Expanding or Shrinking Columns During Grid Resizing
Formatting Rows By Specific Criteria
Getting the DataRow for a Row Index After Sorting or Filtering
Hiding the Record Selectors Column
Highlighting the Row of the Selected Cell
Modifying the ConnectionString
Placing an Image in a Column Header
Restricting Editing in Specific Columns
Searching for Entries in a Column
Setting Default Values for New Rows
Setting Multiple Height Values for Rows
Setting the Background Color of a Row
Setting the Column's Caption Height
Setting the Font Style of a Column
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |