How do I connect, read from, and write to a sql server 2000 data base via C#.NET 2005?
-
I can write applications in C#.NET 2005, and can make databases in MS SQL Sever 2000. Now I want to access this database using my application. How would I go about doing that?
-
Answer:
To Connect use: System.Data.SQLClient.SQLConnection Connection String: Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword; To Access use: System.Data.DataTable System.Data.DataSet Hope this helps, Cheers
world_cl... at Yahoo! Answers Visit the source
Related Q & A:
- How to restrict access to a sql server database from Azure?Best solution by Stack Overflow
- How to change column data's as a separate column wise format in a SQL Server?Best solution by stackoverflow.com
- How do I connect to SQL Server using C#?Best solution by Stack Overflow
- How do I connect to a SQL Server database?Best solution by Stack Overflow
- How do I connect my TiVo series 2 to a basic comcast digital cable box?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.