CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How to connect to SQL Server data without using SQL Server Management Studio in C# ?

  1. #1
    Join Date
    Sep 2007
    Posts
    372

    How to connect to SQL Server data without using SQL Server Management Studio in C# ?

    ask: is it possible to connect SQL Server data according to file connection type, just like in microsoft access data connection
    public static string sConnectionString = @ "Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" + @ "| DataDirectory | \ data.mdb" + "; Persist Security Info = False; Jet OLEDB: Database Password = 123";

    How do you convert the above access connection into sql server connection ?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,824

    Re: How to connect to SQL Server data without using SQL Server Management Studio in C

    Victor Nijegorodov

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)