Closed Thread
Results 1 to 5 of 5

Thread: SQL commands in Windows Forms

  1. #1
    karateboy02 is offline Newbie
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0

    SQL commands in Windows Forms

    I am trying to figure out how to send a SQL command to a database from a windows form application. I have added the database using the wizard in Microsoft Visual Studio 2005 but cannot figure out how to send a SQL command to the database or how to display the data it returns. I can move through the items sequentially on the form because Visual Studio automatically sets up a menu bar that does this. I am basically just trying to run a query, just to get me feet under me and then I'm sure that I can figure out the other stuff myself. Thanks in advance for the help.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    hoser2001's Avatar
    hoser2001 is offline Programmer
    Join Date
    Jul 2006
    Posts
    175
    Rep Power
    0
    What is the database you are using? (ms sql, oracle, mysql, etc.)

  4. #3
    hoser2001's Avatar
    hoser2001 is offline Programmer
    Join Date
    Jul 2006
    Posts
    175
    Rep Power
    0
    ADO.NET Primer using Managed C++ - The Code Project - Managed C++

    Assuming SQL Server, try this link, it should provide you with all the information you need.

  5. #4
    karateboy02 is offline Newbie
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0
    Yes it's SQL Server, and thank you very much for the link, I will check it out.

  6. #5
    karateboy02 is offline Newbie
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0
    I really appreciate the link and it had some good information in it, but I'm still unclear on how all of this works. Are there any other resources that anyone is willing to share?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [HELP]Windows Forms Application
    By Zero_Cool in forum C# Programming
    Replies: 9
    Last Post: 06-13-2011, 02:00 PM
  2. [VB.net] Hello World - Windows Forms
    By Charny in forum Video Tutorials
    Replies: 0
    Last Post: 06-30-2010, 10:19 AM
  3. [C#] Hello World - Windows Forms
    By Charny in forum Video Tutorials
    Replies: 0
    Last Post: 06-29-2010, 11:47 PM
  4. Switching Between Windows Forms
    By karateboy02 in forum Managed C++
    Replies: 3
    Last Post: 08-03-2007, 05:49 PM
  5. Windows Forms MDI question.
    By hoser2001 in forum C# Programming
    Replies: 10
    Last Post: 08-11-2006, 04:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

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