SQL Connection

Results 1 to 2 of 2

Thread: SQL Connection

  1. #1
    Join Date
    Dec 1969

    Default SQL Connection

    I am building a website that will become a directory/search engine.<BR>I have a simple form and I want to query a new SQL database. I am new to .Net so I do not know how to connect to the SQL database. I was hoping to just use code-behind and not have to use an action page. How do I go about this? I am using VS.net if that matters.<BR><BR>Thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: SQL Connection

    Do some searches on ADO.Net. It&#039;ll explain how to do it all. In a nutshell...<BR><BR>Create a dataadapter, a sqlconnection, and a dataset<BR>Use the dataadapter to get the data with the sqlconnection<BR>Use the Fill method of the dataadapter to fill the dataset.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts