Results 1 to 2 of 2

Thread: [resolved]sql server connection

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    9

    [resolved]sql server connection

    pls, what is the code to connect to an sql database through DSN named (accounts) and access its tables for read,edit, update
    Last edited by capitalx; Feb 16th, 2006 at 05:06 AM. Reason: resolved

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: sql server connection

    That's a very broad question. There is no one specific code because it depends what you want to do exactly. I'd suggest that you do some reading on ADO.NET and get the big picture and then work your way to specifics. Try the tutorials from my signature or these courtesy of TechGnome: ADO.NET part1, ADO.NET part2
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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