本文介绍了如何在Windows窗体中使用dataBinding的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好, 我在使用datagridview的形式,并倾向于与它绑定.请以exp.
hi all, I''m using datagridview in the form and tend to bind with it. please reply with an exp.
推荐答案回复有 [^ ]了解如何绑定datagridview和 有 [ ^ ]通过使用Wizard [Designer]学习> 或者您可以使用给定的代码段 Have go there[^] to learn how to bind datagridview and there[^] to learn by using Wizard[Designer] or you can use given Code Snippet SqlDataAdapter da = new SqlDataAdapter("your Command", connection); DataTable table = new DataTable(); da.Fill(table); dataGridView1.DataSource = table;
更多推荐
如何在Windows窗体中使用dataBinding
发布评论