Results 1 to 5 of 5

Thread: ASP.net 05 to SQL Server 2000 Basics

  1. #1

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Resolved ASP.net 05 to SQL Server 2000 Basics

    Hi all

    I dont do web work that often...ie once in last 5 years!!!

    How would I add a new record in code to an online (ie url name) SQL Server 2000 database? I have a membership form that needs filled out then validated...am ok with this part.

    Then to run a query against it and get back dataset..... then show this on form....gridview or something

    I also would like to do a dynamic search and build up sql for what user wants to see....but worried about SQL injection

    cheers George
    Last edited by Ggalla1779; Nov 2nd, 2006 at 11:24 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: ASP.net 05 to SQL Server 2000 Basics

    Is this your database or is it owned by someone else? In other words, do you have the login credentials?

  3. #3

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: ASP.net 05 to SQL Server 2000 Basics

    this is a database that sites on ISP...hosted package for me.

    I have login and password...... and URL/ IP..... I have created the Database/ table

    Even just knowing how to connect to database and add anew record would be good

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: ASP.net 05 to SQL Server 2000 Basics

    You'll need a Connection string and an ADO.NET tutorial and knowledge of SQL as well.

  5. #5

    Thread Starter
    Fanatic Member Ggalla1779's Avatar
    Join Date
    Feb 2006
    Location
    Glasgow
    Posts
    532

    Re: ASP.net 05 to SQL Server 2000 Basics

    thanks mendhak....I just hacked it in the end, although I managed to connect to mySQL database as well as part of working out what I was doing wrong!!!

    I had good fun!!!!

    thanks George

Posting Permissions

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



Click Here to Expand Forum to Full Width