如何使用vb.net中的按钮导航单选按钮和复选框数据? [英] how to navigate radio button and check box data using button in vb.net?

查看:174
本文介绍了如何使用vb.net中的按钮导航单选按钮和复选框数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为学生做了一个表格。

我在其中保留了两个性别的单选按钮,例如男性和女性。

和四个爱好的复选框,如唱歌,跳舞,阅读和跳舞。

除此之外我还为不同的领域保留了四个文本框。

我保留了四个导航按钮,如第一个,下一个,上一个和之前的最后。



i使用了数据绑定。它很成功。当我点击相应的按钮这样的

作为第一个,下一个,最后一个和之前的文本框的值根据插入的记录移动。

但是我无法使用类似按钮移动或绑定单选按钮和复选框的值。

我该怎么办?请帮我正确的代码。

I made a form for students.
In which I have kept two radio buttons for gender such as male and female.
and four checkboxes for hobbies such as singing, dancing, reading and dancing.
apart from this i have kept four textboxes for different fields.
I have kept four buttons for navigation such as first, next, previous and last.

i have used data binding.and it is successful. when i click on respective buttons such
as first, next, last and previous the values of text boxes are moved as per the inserted records.
but I am not able to move or bind the values of radio buttons and checkboxes with similar buttons.
what shall i do? please help me with the right code.

推荐答案

这篇关于如何使用vb.net中的按钮导航单选按钮和复选框数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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