其实很简单,在DataGridView上方法中选择编辑列,在数据一项中找到DataPropertyName,在里面写上对应的数据库中的字段名,即可 。
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3