使用asp.net和mysql [英] using asp.net and mysql
问题描述
帮忙
我是一个老程序员,几十年后就拿起键盘来帮助一个小的慈善机构,唤醒人们的大脑.我已经设法使用asp.net和VB来构建网页,并希望开始与mysql数据库集成的下一阶段,并努力寻找一个最新的示例站点来帮助我解决问题.
使用default.asp页上的简单内容io希望成员通过用户名和密码登录,然后能够从数据库中向他们提取内容.但是我一直在努力弄清代码的位置和基本语法.
所有文章似乎都在当前版本之前.
我将使用从mysql.com下载的当前mysql连接器,并使用Visual Studio 2008
帮助和指针深表感谢
非常感谢
tony
Hi and help
I am an old programmer who has picked up a keyboard after a couple of decades to help a small charity out and wake the brain up. I have managed to grasp building web pages with asp.net and VB and want to start on the next stage of integrating with a mysql database and struggling to find an up to date sample site to get my head around.
Using something simple from a default.asp page io want members to login via a username and password and then be able to pull content to them from the database. but i am struggling to get my head around where what bits of code go where and some basic syntax.
All articles seem to be before current versions.
I will use the current mysql connector downloaded from mysql.com and working with visual studio 2008
help and pointers gratefully appreciated
many thanks
tony
推荐答案
我不确定您已经看过哪些资源,但这也许会有所帮助, ^ ].步骤10深入探讨了如何将mySql与ASP.NET结合使用.
如果这是一个新应用程序,我会考虑使用SQL Express而不是mySql.当然,与其他Microsoft产品的集成要好得多,可以根据需要将其升级到完整的SQL Server,并且可以免费获得.
I''m not sure what resources you have looked at already but perhaps this will be helpful, http://www.15seconds.com/issue/050407.htm[^]. Step 10 gets to the meat of using mySql with ASP.NET.
If this is a new application I would consider using SQL Express rather than mySql. The integration with other Microsoft products is of course much better, it''s upgradeable to a full SQL Server if needed, and its free.
^ ]可以帮助您入门(尽管您可能已经通过了).
These whitepapers[^] could help you get started (you may have already gone through them though).
Abhinav和Mark都引用了非常好的链接帮助您;
除了他们,我也想分享一些;
对于asp.net,您可以从 w3schools.com [外观 [链接1 [链接2 [
Both Abhinav and Mark referenced really nice links to help you out;
In addition to them I want to share some as well;
For asp.net you can have solid information from w3schools.com[^].
For login I suggest you using "Membership" in ASP.net. If you have a look[^] at this page it give you a head start :)
Also this two links explain it to you more.
Link 1[^]
Link 2[^]
这篇关于使用asp.net和mysql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!