的CheckBox [英] CheckBoxes

查看:61
本文介绍了的CheckBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试根据查询搜索向我的动态记录表添加一个复选框。填充表格后,我希望能够通过复选框选择记录,然后将记录的相关信息写入另一个名为标签的表格。你可以帮我解决这个问题,我的代码如下。谢谢!

-gabe

I am trying to add a checkbox to my dynamic table of records based on a query search. After I populate the table I want to be able to select records via a checkbox then write the associated information of the records to another table called labels. Can you help me on this, my code is below. Thank You!
-gabe

展开 | 选择 | Wrap | 行号

推荐答案

嗨Gabe,欢迎到bytes.com。我希望我们可以提供帮助。


首先,如果你想在数据库的每一行都有一个复选框从数据库中提取,你需要将表放在一个Web表单(表单只是一个收集用户输入的对象。您可以将复选框放在任何位置,但如果它们不在表单中,则不会传递它们的值)并且您可能需要提交表单。结尾的按钮是这样的:
Hey Gabe, welcome to bytes.com. I hope we can be of help.

First of all, if you want a checkbox on each row of the table you pull up from the db, you will need the table to be within a web form (a form is just an object that collects user inputs. you can put checkboxes anywhere, but if they are not within a form, their values will not be passed on) and you will probably want a "submit" button on the end like this:
展开 | 选择 | Wrap | 行号


感谢您的回复。让我研究你的建议。这需要一些时间,因为我还是编程新手,特别是ASP。一旦我完成了你的建议,我会回复你。再次,非常感谢日本!


-Gabe
Thanks for Replying. Let me work on what you have suggested. It will take some time because I am still new to programming and particularly with ASP. Once I have accomplished your recommendations, I will get back to you. Again, Big Thanks from Japan!

-Gabe


我按照建议进行了所有更改。下面是修改后的代码。
I have made all the changes as recommended. Below is the modified code.
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号


这篇关于的CheckBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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