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.
What is the database you are using? (ms sql, oracle, mysql, etc.)
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.
Yes it's SQL Server, and thank you very much for the link, I will check it out.
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks