PDA

Click to See Complete Forum and Search --> : An ASP.NET NOOB


Raziiq
Sep 11th, 2005, 08:07 PM
Hi People.
Uptil now i have only made the ASP.Net applications on the LAN. But now i want to make an ASP.NET website and upload that website. The Purpose of that website is to keep track of all the sales and purchase of our company. The ASP.net pages should be able to get and send the data from SQL SERVER or any other database on the Website.

Can anybody help me how to use it?
What things should i need?
Which Web hosting should i use?

Please help me and give me a step by step description.

Raziiq
Sep 12th, 2005, 10:18 PM
Can anybody help?

Raziiq
Sep 13th, 2005, 10:01 PM
This is really Amazing , nobody wants to help me. I think my question is not that difficult.

mendhak
Sep 14th, 2005, 05:34 AM
You need a web host with asp.net and sql server. Create it as you would in a normal development environment, with the exception of your connection string being customizable (in a web.config file)

You'd only need to upload the files after you're done.

Raziiq
Sep 16th, 2005, 01:00 AM
At last a reply. Thanks for the reply. Can you please suggest any web hosting service.

mendhak
Sep 16th, 2005, 05:01 AM
I use www.jodohost.com

But it depends, what are you looking for?

Raziiq
Sep 27th, 2005, 09:23 PM
Thanks for that web hosting suggestion. I have registered for a trail on this website and will get a reponse from them in a couple of days. Thanks again for the Suggestion.
You have told in your post that i have to change the Connection String in Web config File. Can you please tell me what i have to change and where is that Web Config File.
Also can you please tell me about some ASP.net Tutorials on web because it had been a long time since i had worked in ASP.net so i think i need a bit revision before proceeding Further.
Thanks in Advance.
Waiting for your reply Anxiously.

mendhak
Sep 28th, 2005, 08:25 AM
This is what I meant by the config file:

http://aspnet.4guysfromrolla.com/articles/053102-1.aspx

dogboydelta
Sep 28th, 2005, 09:47 AM
Here's a snippet of code for making a SQL connection, you will use this (or some form of it) many times.

Dim SQLConn as New SQLConnection("server=X;database=xdb;user=xu;password=pw)
Dim SQLCom as New SQLCommand("SELECT name FROM table WHERE id=1", SQLConn)
Dim user as String

cn.Open()
user = SQLCom.ExecuteScalar()
cn.Close()


There are many different ways to do this, plus you will have to use the SQLDataReader if you want to get more than one value, and the SQLDataAdapter if you want to do something like fill a DataGrid. This is just a (very basic) start on using the SQL APIs in Visual Basic.

Raziiq
Sep 28th, 2005, 08:46 PM
THanks Dogboydelta for this Snippet Code.
Thanks Mendhak for that link. I will have a go to it soon.
Well i am wondering why i am not getting the response from the JODOHOST.COM. I have recieved one of their mail saying to wait for our Confirmation, but after that no mail.What do you people say.

mendhak
Sep 29th, 2005, 05:38 AM
Ask here, the techies frequent the forums too...

http://support.jodohost.com/