Help

Hi everyone,

I have a question, i am currently running VS 2005 and i want to connect to SQL 2000. How do i change the setting or anything i need to change in order for me to connect to SQL 2000.

Your sincerely,

Cindy



Answer this question

Help

  • mbp

    Hi

    VS2005 is capable of connecting to SQL 2000/2005 using System.Data.SqlClient/ System.Data.OleDB connections.

    Do you have errors when you try to connect

    Alturnates check your App.Config/Web.Config

  • Amir19

    Might I recommend that you read the sticky note on the forum about how to best ask questions In this case, your subject is not at all descriptive and will do nothing to attract people who can help you.



  • SusanC

    You're probably putting them in the wrong place.

    To be honest, this is the sort of question where you'd do better to google. You're asking for something so broad that you need an article to read, not the sort of reply you will get from a forum.

    http://www.codeproject.com/cs/database

    is one place that has plenty of articles in this area. Note that C# 1.1 code will work fine in 2.0 for data access.



  • Finkster

    hi,

    i have tried the the code you wrote here. But when i put the code in the app.config the name, conectionString, and provider is not being declare. They are being underline. How do i solve this problem. Thanks for the help.

    Your sincerely,

    Cindy


  • Help