如何在vb.net中与按钮进行数据绑定与绑定 [英] how can possible data binding with button with codding in vb.net

查看:88
本文介绍了如何在vb.net中与按钮进行数据绑定与绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在vb.net 2005、2008、2011中使用带有编码的按钮的数据导航器

请快速重播

how can possible data navigator with button with codding in vb.net 2005,2008,2011

please replay me fast

推荐答案

要设置数据记录的导航,可以使用BindingNavigator control.
首先创建一个BindingSource ,并将数据绑定控件的DataSource 属性设置为创建的BindingSource ,例如DataGridView ComboBox .然后将BindingNavigator BindingSource 属性设置为此BindigSource.
BindingSource 控件在此处说明
http://msdn.microsoft.com/en-us/library/system. windows.forms.bindingnavigator.aspx [ ^ ]
此处给出了BindingNavigator上的示例
http://msdn.microsoft.com/en-us/library/3y4w3c32 (v = VS.80).aspx [
To setup navigation of records of the data you can use BindingNavigator control.
First create a BindingSource and set DataSource property of the data bound control say DataGridView or ComboBox to the BindingSource created. Then set the BindingSource property of BindingNavigator to this BindigSource.
The BindingSource control is explained here
http://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator.aspx[^]
A sample on BindingNavigator is given here
http://msdn.microsoft.com/en-us/library/3y4w3c32(v=VS.80).aspx[^]


这篇关于如何在vb.net中与按钮进行数据绑定与绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆