[Solved] Seeking Help: RadGridView Hierarchical CRUD Example with DataTable and SQLite

1 Answer 39 Views
GridView
yw
Top achievements
Rank 3
Iron
Iron
Iron
yw asked on 25 Feb 2026, 03:10 PM
Hi everyone,
Requirement: Implement hierarchical (master-detail) add, delete, and edit functionality in RadGridView, with data flow: GridView ↔ DataTable ↔ SQLite Database.
Data Structure: 
Master Table:  MasterDataTable  (e.g., Orders) 
Detail Table:  DetailDataTable  (e.g., Order Items) 
Relationship: One-to-many via foreign key
Tech Stack: 
UI Control: Telerik  RadGridView  (WinForms) 
Data Layer:  DataTable  +  DataRelation  
Database: SQLite
Core Requirements: Looking for a simple, complete example demonstrating:
1. Binding hierarchical data to  RadGridView  (master rows expandable to show details)
2. Two-way synchronization between UI edits and  DataTable  (inserts, updates, deletes)
3. Batch commit changes from  DataTable  back to SQLite database
Any guidance or code samples would be greatly appreciated!
    Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 27 Feb 2026, 04:36 PM

Hello, 

RadGridView is capable binding to different data sources including SQL tables. You can also achieve binding to hierarchical data: WinForms GridView Hierarchical Grid Tutorial Binding to Hierarchical Data - Telerik UI for WinForms

Binding a grid control to a SQLite db sounds more like a general programming question. You can use the following article that shows steps-by-steps tutorial how to build an app backed by a SQLite database and use RadGridView to visualize data: https://learn.microsoft.com/en-us/ef/core/get-started/winforms 

The following help article demonstrates a sample approach how to update the database with the changes made in RadGridView: WinForms GridView Populating with Data Updating the Database with ADO.Net - Telerik UI for WinForms

In our online documentation of the Telerik UI for WinForms suite we offer the following KB article which demonstrates how to bind RadGridView to a local SQL server which also may be also helpful for you: WinForms How to Bind GridView to a Local SQL Server - Telerik UI for WinForms

I hope this information helps. If you have further questions, please let me know.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

yw
Top achievements
Rank 3
Iron
Iron
Iron
commented on 01 Mar 2026, 02:38 PM

Thank you for your reply. The solution requires data normalization before storage, using a DataTable as an intermediate data layer, which has been resolved through unbound mode.
Tags
GridView
Asked by
yw
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or