You can refer to the following MSDN article providing detailed information about Entity Framework and WinForms: https://docs.microsoft.com/en-us/ef/ef6/fundamentals/databinding/winforms
. Assuming that you have already connected to the database you can bind RadDropDownList
in a similar way:
RadForm1 : Telerik.WinControls.UI.RadForm
NORTHWNDEntities dbContext =
We also have a step by step tutorial with RadGridView
, so please have a look at it here: https://docs.telerik.com/devtools/winforms/gridview/populating-with-data/binding-to-entityframework-using-database-first-approach
. Regarding the update of the entities, it will be necessary to call the SaveChanges method of your context object: https://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext.savechanges(v=vs.113).aspx
I hope this information is useful.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.