求Windows应用程序DataGrid绑定数据的问题的代码示例。
要求:
1、用代码解决,运行中绑定。
2、更改DataGrid数据后,能对数据库进行更新。
3、最好有运行中建立DataGrid并绑定和更新数据。