Thank you for writing.
I have prepared a sample project where RadBindingNavigator
are bound to directly to the Northwind.Customers
table from my local server. I have subscribed to the CurrentItemChanged
event of the generated customers BindingSource
and save the changes to the database as follows:
.customersBindingSource.CurrentItemChanged += customersBindingSource_CurrentItemChanged;
sender, EventArgs e)
DataRowView dataRowView =
DataRow dataRow = dataRowView.Row;
(dataRow.RowState == DataRowState.Modified)
You can refer to the following help article which is quite useful on this topic. Although it is related to RadGridView
, you can use a similar approach to save
the changes to your database for other controls as well: http://docs.telerik.com/devtools/winforms/gridview/populating-with-data/updating-the-database-with-ado.net
I hope this information helps. Should you have further questions I would be glad to help.
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post
and share your thoughts.