GeoffS Level: VB Lord

 Registered: 29-09-2004 Posts: 536
|
Re: New to .NET got some ?s
Hi Bean,
First I had better point out that I am also quite new to ASP.NET, so take my advice as you wish, based upon that.
I use Visual Studio .NET 2003 Pro as my IDE and it works great for me. I did have a bit of a dabble with Web Matrix so I can understand your confusion, as that does not support the concept of "Code Behind". I quite like this idea as it means you have got your VB in a seperate "module" in the IDE which I find easier to work with. (suits my simple mind!)
Why the problem with developing to andreavb.ipowermysql.com? Do all the work on your machine then just copy the aspx files and the built dll onto the server site to test it there. I THINK that you can develop on a remote server but you need to specify it when you first start the project.
You can only add asp Web Controls to a "Web Form" (aspx) page - not to an standard html page.
For User Logon you can create a simple aspx WebForm with a couple of TextBox controls and a button. In the code behind for the button Click put the code for the database connection and validating the user input. You set the startup page (User Logon) in the Project Properties, then transfer to another page after you have validated the logon is as easy as --
Server.Transfer("NextPageName")
I hope that helps a bit.
____________________________
multi-tasking - the ability to hang more than one app. at the same time.
|