True DBGrid 6: A Classic .NET DataGrid Control that Requires a Serial Number to Use
True DBGrid 6 Serial Number: How to Install and Use It in Your WinForms Applications
If you are looking for a fast and feature-rich .NET datagrid control for your WinForms applications, you might have come across true dbgrid 6. This is a classic ComponentOne control that provides data-presentation and data-manipulation features, such as grouping, filtering, conditional formatting, exporting, and printing. You can easily enable these features by just setting a few properties. You can also create multiple data views, such as hierarchical display, grouping, multi-line rows, transposed grid, or input form, by just setting one property. Moreover, you can use true dbgrid 6 with minimal or no coding, thanks to its advanced design-time features, such as smart tags, editors, context menu, and designer.
true dbgrid 6 serial number
However, to use true dbgrid 6 in your applications, you need a valid serial number that proves that you have purchased a license from the company that makes it. Without a serial number, you cannot install or activate the control on your development machine. In this article, we will show you how to get a serial number legally, how to install true dbgrid 6 with it, how to use it in your WinForms applications, and how to migrate from it to FlexGrid, a more modern and cross-platform datagrid control.
How to get a serial number for true dbgrid 6 legally
The only legal way to get a serial number for true dbgrid 6 is to buy a license from ComponentOne, the company that owns and maintains the control. ComponentOne offers different licensing options for different scenarios and budgets. You can choose from the following options:
ComponentOne Studio Enterprise: This is the most comprehensive option that gives you access to all ComponentOne controls for WinForms, WPF, ASP.NET MVC, ASP.NET Web Forms, UWP, Blazor, Xamarin.Forms, .NET Core 3.1/5/6+, .NET Standard 2.0/2.1+, Angular, React, Vue.js.
ComponentOne Studio WinForms Edition: This is a more focused option that gives you access to all ComponentOne controls for WinForms only.
ComponentOne True DBGrid for WinForms: This is the most specific option that gives you access to true dbgrid 6 only.
You can buy any of these options from the ComponentOne website or from authorized resellers. Once you buy a license, you will receive an email with your serial number and download link. You will also get one year of subscription that includes technical support and product updates. You can renew your subscription annually or opt for perpetual licensing.
How to install true dbgrid 6 with a serial number
Once you have your serial number and download link, you can proceed to install true dbgrid 6 on your development machine. Here are the steps to follow:
Download the installer from the link provided in your email.
Run the installer and follow the instructions on the screen.
When prompted, enter your serial number and click Next.
Select the components that you want to install. You can choose from True DBGrid Pro (the main control), True DBInput Pro (a set of input controls), True DBList Pro (a set of list controls), and True DBChart (a charting control).
Click Next and choose the installation folder.
Click Next and wait for the installation to complete.
Click Finish and restart your Visual Studio if it was open.
Congratulations, you have successfully installed true dbgrid 6 on your development machine. You can now start using it in your WinForms applications.
How to use true dbgrid 6 in your WinForms applications
Using true dbgrid 6 in your WinForms applications is very easy and intuitive. You can simply drag and drop the control from the toolbox to your form, or create it programmatically. You can then bind it to any data source, such as a DataTable, a DataSet, a DataView, a BindingSource, or a custom collection. You can also customize the appearance and behavior of the control by setting various properties, such as AllowAddNew, AllowDelete, AllowUpdate, AllowFilter, AllowGroupBy, AllowSort, CaptionStyle, ColumnDividerStyle, FilterBarStyle, GroupByCaptionStyle, GroupByAreaStyle, MultiSelect, ReadOnly, RowHeight, SplitMode, etc. You can also use events, such as AfterColEdit, BeforeColUpdate, BeforeDelete, BeforeInsert, ButtonClick, CellButtonClick, FetchCellStyle, FetchRowStyle, FilterChange, GroupByChange, KeyDownMoveLastColumnNextRow, KeyPressEditLastColumnNextRow, OwnerDrawCellPaint, OwnerDrawColumnHeaderPaint, OwnerDrawFooterPaint, OwnerDrawSplitterPaint, RowColChange, SelChange, UnboundColumnFetch, UnboundColumnReadData, UnboundColumnWriteData, etc., to handle user actions and customize the data presentation and manipulation.
Here is an example of how to use true dbgrid 6 in a WinForms application. We will create a simple application that displays some customer data from the Northwind database in a true dbgrid 6 control. We will also enable some features such as filtering, grouping, exporting, and printing.
Create a new WinForms project in Visual Studio and name it TrueDBGridDemo.
Add a reference to C1.Win.C1TrueDBGrid.dll from the ComponentOne installation folder (usually C:\Program Files (x86)\ComponentOne\Studio for WinForms\bin).
Add a new DataSet item to the project and name it NorthwindDataSet.xsd.
Open the DataSet designer and add a TableAdapter that connects to the Northwind database and fills a DataTable with the following SQL query: SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country FROM Customers.
Save the DataSet and go back to the Form designer.
Drag and drop a C1TrueDBGrid control from the toolbox to the form and name it customersGrid.
Set its Dock property to Fill.
In the Properties window, click on the DataSource property and select NorthwindDataSet from the drop-down list.
Click on the DataMember property and select Customers from the drop-down list.
In the Properties window, expand the Splits property and click on Collection.
In the Collection Editor window that opens, select Split from the Members list.
In the Properties window of the Collection Editor window, set the AllowFilter property to True.
Click OK to close the Collection Editor window.
In the Properties window of customersGrid control, expand the GroupByOptions property and set Enabled to True.
In the Properties window of customersGrid control, expand the PrintInfo property and set UseGridColors to False.
In the Properties window of customersGrid control, expand the ExportOptions property and set ExportMode to AllRowsAndAllCols.
How to migrate from true dbgrid 6 to FlexGrid
In this article, we have shown you how to get a serial number for true dbgrid 6 legally, how to install true dbgrid 6 with it, how to use true dbgrid 6 in your WinForms applications, and how to migrate from true dbgrid 6 to FlexGrid. We hope that this article has been helpful and informative for you.
True dbgrid 6 is a classic datagrid control that provides data-presentation and data-manipulation features for WinForms applications. However, it is a legacy control that does not support the latest versions of .NET or other platforms or frameworks. If you want to future-proof your applications and reach more users on different devices and platforms, you should consider migrating from true dbgrid 6 to FlexGrid.
FlexGrid is a modern and versatile datagrid control that supports all the platforms and frameworks that true dbgrid 6 does not. It offers all the features and functionality that true dbgrid 6 does, plus many more. It is easy to use and customize, and it provides high performance and reliability.
If you are interested in trying out FlexGrid for yourself, you can download a free trial from the ComponentOne website. You can also check out the documentation , samples , blogs, videos, forums, and support for more information and guidance.
Thank you for reading this article. We hope that you have learned something new and useful. If you have any feedback or questions, please feel free to leave a comment below or contact us. We would love to hear from you.
Here are some frequently asked questions about true dbgrid 6 and FlexGrid:
What are the benefits of using true dbgrid 6 over other datagrids?
True dbgrid 6 is a datagrid control that has been trusted and used by many developers for over two decades. It provides data-presentation and data-manipulation features that are easy to enable and customize by just setting a few properties. It also has advanced design-time features that allow you to create and configure the control with minimal or no coding. True dbgrid 6 is compatible with .NET Framework 2.0 to 4.8, and supports Visual Studio 2005 to 2019.
What are the drawbacks of using true dbgrid 6 in .NET 6+ applications?
True dbgrid 6 is a legacy control that was designed for .NET Framework 2.0 and has not been updated since 2014. It does not support .NET Core, .NET 5, or .NET 6, which are the latest and recommended versions of .NET for modern applications. It also does not support other platforms, such as WPF, UWP, Blazor, Xamarin.Forms, or web browsers. Therefore, if you use true dbgrid 6 in .NET 6+ applications, you may encounter compatibility issues, performance issues, security issues, or missing features.