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[0] 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
While true dbgrid 6 is a powerful and reliable datagrid control for WinForms applications, it may not be the best choice for your future projects, especially if you are targeting .NET 6+ or cross-platform development. 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 want to take advantage of the latest features and performance improvements of .NET, or if you want to 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. You can use FlexGrid in WinForms, WPF, UWP, Blazor, Xamarin.Forms, ASP.NET MVC, ASP.NET Web Forms, Angular, React, Vue.js, and pure JavaScript applications. You can also use FlexGrid in .NET Core 3.1/5/6+, .NET Standard 2.0/2.1+, and .NET Framework 4.5+ applications. FlexGrid offers all the features and functionality that true dbgrid 6 does, plus many more. For example, FlexGrid supports virtualization, data binding to any source (including dynamic objects and collections), cell merging and freezing, star sizing and auto sizing, cell editing and validation, custom editors and cell factories, conditional formatting and styling, filtering and sorting (including custom filters and sorters), grouping and aggregates (including custom group headers and footers), hierarchical display and master-detail views, multi-line rows and word wrapping, transposed grid and input form views, column reordering and resizing (including touch gestures), column pinning and hiding (including column chooser dialog), row selection and highlighting (including checkbox selection), row details and expandable rows (including custom templates), row reordering and resizing (including touch gestures), row pinning and hiding (including row visibility dialog), clipboard support (copy/paste/cut), keyboard navigation and accessibility support (including ARIA attributes), printing and exporting (to PDF, Excel, CSV, HTML), charting integration (with FlexChart), touch support (with FlexViewer), localization support (with Globalize.js), content security policy compliance (with no inline scripts or styles), TypeScript support (with type definitions), and much more. Migrating from true dbgrid 6 to FlexGrid is not difficult, as both controls have similar APIs and concepts. You can use the ComponentOne documentation to learn how to use FlexGrid in your preferred platform or framework. You can also use the ComponentOne samples to see how FlexGrid works in different scenarios. You can also contact the ComponentOne support team if you have any questions or issues during the migration process. Conclusion
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.
FAQs
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.
How can I contact the company that makes true dbgrid 6 for support or feedback?
You can contact ComponentOne, the company that owns and maintains true dbgrid 6, for support or feedback through various channels. You can use their online support portal to submit tickets, chat with agents, or browse the knowledge base. You can also use their forums to ask questions or share ideas with other users and experts. You can also use their email or phone to reach them directly.
How can I customize the appearance and behavior of true dbgrid 6?
You can customize the appearance and behavior of true dbgrid 6 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. You can also use methods, such as AddItem, CancelUpdate, Delete(), EditActive(), ExportToDelimitedFile(), ExportToFixedLengthFile(), ExportToHTML(), ExportToPDF(), ExportToXML(), FilterBarClear(), FilterBarFocus(), GroupByClear(), GroupByFocus(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), PrintGrid(), PrintPreviewGrid(), Rebind(), Refresh(), SaveLayout(), SetDataBinding(), SortByColumn(), UpdateData(), etc., to perform various operations on the control.
How can I export or print the data from true dbgrid 6?
You can export or print the data from true dbgrid 6 by using its built-in methods or properties. You can use the ExportToDelimitedFile(), ExportToFixedLengthFile(), ExportToHTML(), ExportToPDF(), ExportToXML() methods to export the data to different formats. You can also use the ExportOptions property to specify the export mode (AllRowsAndAllCols, CurrentRowsAndAllCols, CurrentRowsAndCurrentCols) and the delimiter character (for delimited files). You can use the PrintGrid() method to print the data directly to a printer. You can also use the PrintPreviewGrid() method to preview the print output before printing. You can also use the PrintInfo property to specify various print options, such as UseGridColors (False, BlackAndWhite, Color), PageHeader, PageFooter, PageMargins, PageOrientation, PaperSize, PrintPreviewDialogSettings, etc. dcd2dc6462