写入数据库的简单 Web 表单...访问 Web 表单或自定义 ASP.NET?
我在一所学校工作,我们最近安装了一台运行 WinServer 2008R2 的新服务器。我希望能够将人们指向我们内联网上的 URL,让他们填写一个简单的注册表并将这些数据写入数据库。自动填充一些数据(例如他们的名字)也很好。
设置共享点服务器并尝试使用 Access Webforms 来实现这一点是否太过分了? 我可以使用像 dotnetnuke 这样的东西并找到一个可以工作的模块吗?或者编写自定义表单的选项怎么样?
I am working in a school and we recently installed a new server running WinServer 2008R2. I want to be able to point people to a URL on our intranet and have them fill out a simple registration form and have this data written to a database. It would also be nice to have some data auto-populate (such as their name).
Is it overkill to set up a sharepoint server and try to do this with Access Webforms?
Could I use something like dotnetnuke and find a module that works? Or how about options for writing custom forms?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
就我个人而言,我绝对不会使用 sharepoint 来完成如此简单的任务。除了金钱问题之外,共享点也很难正确设置。即使在共享点管理中使用自定义 ECT,也是一场噩梦。
我个人会创建一个带有一些标准字段的简单 asp.net Web 表单,您可以使用 SQL Server 或 mySQL 将此数据推送到数据库中。至于默认值,这取决于您想要如何设置字段,您可以使用 Windows 身份验证并将其用户名设置为其 NT 登录名。
Personally, I would definately not go with sharepoint for such a simple task. Besides money issues sharepoint is difficult to properly set up. Even with custom ECT's within sharepoint administration is a nightmare.
I would personally create a simple asp.net web form with some standard fields and you could use SQL Server or mySQL to push this data into a database. As for default values, that depends on how you want to set the fields, you could use windows authentication and set their user name to their NT login.
创建一个网络表单来填写和收集数据并不是太困难。
查看http://www.asp.net/get-started。您会找到很多相关教程。您可能会考虑将 MySQL 或 SQL Server Express 作为您的数据库。除非您对共享文档有一些伟大的想法,否则 Sharepoint 服务器肯定是大材小用。
Creating a web form to fill in and collect data is not too difficult.
Have a look at http://www.asp.net/get-started. It is something you will find a lot of tutorials for. You might like to consider MySQL or SQL Server Express for your database. A Sharepoint server would definitely be overkill, unless you have some large ideas about sharing documents.
对于这样的事情来说,Sharepoint 太过分了。对于 DotNetNuke 或任何其他平台也是如此。只需做一个带有 Access 后端的简单 ASP.NET 页面即可。我怀疑您是否需要像 SQL Server Express 这样更大的东西,尽管这可能是一个很好的学习体验。
Sharepoint is way too overkill for something like this. Same for DotNetNuke or any other platform. Just do a simple ASP.NET page with an Access back end. I doubt you'll need anything bigger like SQL Server Express, although that might be a good learning experience.