How to create editor for database view (with joins) in Windows Forms/WPF?

后端 未结 2 1317
时光取名叫无心
时光取名叫无心 2021-02-15 18:12

What would be the simplest way to create a quick editor for some data in the database in WPF/WinForms, where the data is represented by a View in the SQL Server database?

<
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-15 18:52

    ASP .NET Dynamic Data uses templates to auto-generate a UI for you that will represent the database tables/views you choose, including the auto-generated CRUD capabilities you want.

    It even gets the lookup tables right and renders dropdowns automatically.

    http://msdn.microsoft.com/en-us/library/ee845452(v=vs.100).aspx

提交回复
热议问题