Results 1 to 3 of 3

Thread: DB Connections

  1. #1

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    DB Connections

    Anyone know how to connect to the database in a manner that allows the execution of CREATE/ALTER PROCEDURE......

    ad-hoc..? how do you do it..?
    Magiaus

    If I helped give me some points.

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

    Re: DB Connections

    Just call ExecuteNonQuery on an IDbCommand object, e.g. SqlCommand, to execute whatever non-query SQL statement you like.
    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

  3. #3

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: DB Connections

    You ever felt really dumb....? I know I tried that before and had an error, but it works fine now. Thx.
    Magiaus

    If I helped give me some points.

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