Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jhermiz
3564 Posts |
Posted - 2004-08-29 : 16:33:37
|
When developing in C++ / VB I usually have just a text box for user name and a text box for password. Then the click event of a button I connect to my SQL Server db..goto the correct table, and SQL or check if that user exists in a Logins table.Can I basically do the same for an ASP.net page. I basically need to:1) Create a page with these two boxes2) Have the user click a submit button3) Make a connection to sql SERVER db4) Check if the user exists in a log in tableAre there any examples of this online with a SQL Server db?Thanks,JonJonwww.web-impulse.comCan you dig it: http://www.thecenturoncompany.com/jhermiz/blog/ |
|
rockmoose
SQL Natt Alfen
3279 Posts |
Posted - 2004-08-29 : 17:08:49
|
Helpful, dunno, maybe:[url]http://www.socalnetug.org/reference/ASPsecurity/ASPNETsecurity.pdf[/url]Also I go to [url]http://www.codeproject.com[/url] for code./rockmoose/* Chaos is the nature of things...Order is a lesser state of chaos */ |
 |
|
mohdowais
Sheikh of Yak Knowledge
1456 Posts |
|
samuelhon
Starting Member
5 Posts |
Posted - 2004-08-31 : 05:26:03
|
HiI think this example [url]http://support.microsoft.com/?kbid=301240[/url] might be useful.Are you going to be coding in C# or VB.NET?Sam |
 |
|
mr_mist
Grunnio
1870 Posts |
Posted - 2004-08-31 : 05:37:44
|
The code for this would be virtually identical to normal VB, except that the ASP page would present itself in two different ways.. one would be if there were no variables in the posted data, in which case it would present empty boxes, and the other would be if there were variables, in which case it would go away and check the details.-------Moo. :) |
 |
|
|
|
|