问题描述
大家好
我想用Access数据库设计一个ASP.NET网页,用户可以选择一个选项列表,然后自己添加到数据库中,包括打印他所做的事情.
希望您能帮帮我.
谢谢!
Hello everyone
I want to design an ASP.NET webpage with Access database and the user can choose a list of choices and add by himself in database including print what he has done.
I hope you can help me.
Thanks!
推荐答案
我想设计一个带有访问数据库的ASP.NET网页
I want to design an ASP.NET webpage with access database
没什么大不了的.使用OleDb连接到Access数据库.使用适当的连接字符串,使其正确连接.
It''s not a big deal. Use OleDb for connection to Access Database. Use appropriate connectionstring so that it connects properly.
用户可以选择选项列表
是的.如果使用复选框,则用户可以选择内容列表.
Yes. If you use checkbox, the user can select the list of contents.
由他自己添加到包含打印的数据库中
add by himself in database including print
调用window.Print
打印HTML,然后使用按钮将页面回发,您可以将选择的项目直接保存到数据库中.
Invoke window.Print
to print the HTML, and when the page is posted back say using a button, you can save the items chosen directly to the database..
这篇关于如何在带有Access数据库的ASP.NET中添加字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!