Results 1 to 10 of 10

Thread: ASP Tutorials?

  1. #1
    Senior Member
    Join Date
    Jan 2003
    Posts
    220

    ASP Tutorials?

    Does anyone know any good ASP tutorials. I have already looked through this site and searched on google. The tutorials I found were just a bit of this an a bit of that. I want something really detailed (Database connections and such) perferably a PDF e-book or something. Thanks in advance
    [gloworange]And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict\'s veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. \"This is it... this is where I belong...\" I know everyone here... even if I\'ve never met them, never talked to them, may never hear from them again... I know you all...[/gloworange]

  2. #2
    Well, I'm still looking for some really detailed tutorials like you are referring to, but I'll throw in some links that have helped me greatly in the past:

    Database connection strings (examples): http://www.able-consulting.com/ADO_Conn.htm
    Good bit about .ASP: http://www.w3schools.com/asp/default.asp

    Hope these are of some use to you...
    - Maverick

  3. #3
    Senior Member
    Join Date
    Jan 2003
    Posts
    220
    Thanks...Ive already taken the w3schools.com one..It helped...The other one is a bit weird...Im looking for something more explanatory (I dont know if thats a word )Thanks anyway though

  4. #4
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    http://www.15seconds.com

    http://msdn.microsoft.com

    http://www.4guysfromrolla.com

    If you want database interaction you should be looking up ADO. That is what your asp should be using to interact with databases.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

  5. #5
    Senior Member
    Join Date
    Apr 2002
    Posts
    161
    Ok, I will give you a few tips on db connection using asp: I used MS sql server 2000

    DB connection:

    <%
    set conect= Server.CreateObject("ADODB.Connection")
    lincon= "dsn=testodbc; uid=user; pwd=passwd"
    conec.open lincon
    %>


    Executing queries:

    set result= conect.execute ("create, drop, select, update......)


    Note: conect, result are just variables, testodbc means I created and named an odbc as "test", user and passwd are just any user name and password for your database.

    Hope this helps, I could go more into depth about configuring MS SQL server 2000 for using with asp. Also checkout my turorial about php with a database, in my opinion I prefer php over asp...

  6. #6
    Senior Member
    Join Date
    Jan 2003
    Posts
    220
    Ok...I got the connection stuff down...I haveing trouble doing things like Putting A table in text boxes then paging through each record one by one using a submit button

  7. #7
    Senior Member
    Join Date
    Apr 2002
    Posts
    161
    I don't understand, you want to put info into your tables using a submit button???? Or do you want your info displayed in text boxes????
    Could you please be more specific

  8. #8
    Junior Member
    Join Date
    Jul 2005
    Posts
    3
    guys whats up? my problem is a bit complex(well thats what i think)
    ok.
    consider a .asp file on the net.here i have to enter a number (say rollnumber) and then it give me the results related to that number.
    e.g- i give some exam QWERTY and my roll number is 12345. so when results for the exam are announced i go to the site and open the corresponding .asp(say result.asp). i enter my nnumber 12345 and press enter. now it will show my name and my score in QWERYTY exam.
    here's my question: is there any way i can search for a name (say Sam) and get all other information related to Sam (his score and roll number etc)???
    Please help me guys

  9. #9
    Frustrated Mad Scientist
    Join Date
    Dec 2004
    Posts
    1,152
    You would have been better to start a new thread rather than add to another very old one.

    Replying to old threads is a big no no round here and likely to get you some negs.

    The flashing date in the other entries shows that the thread is old. If you were adding something significant to the original discussion you'd get away with it. But you're not.

    Read the faq and save yourself some grief.

  10. #10
    Junior Member
    Join Date
    Jul 2005
    Posts
    3
    THANKS DUDE

Posting Permissions

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