Results 1 to 5 of 5

Thread: Help with connecting to SQL database

  1. #1

    Thread Starter
    New Member Seema_r101's Avatar
    Join Date
    Jul 2007
    Location
    South Africa
    Posts
    7

    Question Help with connecting to SQL database

    Well im so frustrated at this point Im start this new job,and I don't know much about databases. So the boss tell me Im mus do this webpage that has multiple choose questions so that he test the staff. Well let me start with my problem.

    I have to have about 100 questions in a sql database,and 3000 possible answers. Problem is I don't know how to connect to database with code.
    Could some please help me. Could you explain in detail what everything means eg.datasource,dataset and so on. Maybe if I know what all this means I would know what to do.

    Im sure you must be wondering you would I want to coding in this. Reason being is that Ill have to display all questions in labels,and all answers in radiobuttons. All have to have random questions. And then random answers. Not everyone answering this test must have the same answer.


    But please I really first need to be able to connect to the database.

    Im using visual studio 2005->asp.net 2.0->vb.net
    ms sql server 2005

    Thanks for taking the time to read my problem
    Last edited by Seema_r101; Jul 6th, 2007 at 02:55 AM.

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Help with connecting to SQL database

    Are you comfortable working in .Net, in general?? Any specific language and working in ASP.Net??

    I suggest you to take a good book (not really beginner's level) and go through the fundamentals and intermediate level concepts of ADO.Net, .Net language like VB.Net, and ASP.Net.

    Obviously you cannot these many books entirely in just a day or two, but try getting the basics first, start little development and then you can carry on with the rest of the book, developing and improving your application.
    Show Appreciation. Rate Posts.

  3. #3

    Thread Starter
    New Member Seema_r101's Avatar
    Join Date
    Jul 2007
    Location
    South Africa
    Posts
    7

    Re: Help with connecting to SQL database

    Hi gupta
    Unfortunately I don't have that much money to buy books.
    but thanx anyway

  4. #4
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Help with connecting to SQL database

    Download them!!

    Or search for tutorials here and on net. You would find plenty of them, on DataSet, DataSources, ADo.Net in general etc.

    For the startup, how to connect it to a SQL DB, check this if you find it helpful. If you still need some help, there are plenty of people around here.
    Show Appreciation. Rate Posts.

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

    Re: Help with connecting to SQL database

    You traitors.

    There's a tutorial right here!

    http://www.vbforums.com/showthread.php?t=466658

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