Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C and C++ > Managed C++

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Managed C++ Visual Studio .NET managed C++ Topics

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-2007, 06:58 AM
karateboy02 karateboy02 is offline
Newbie
 
Join Date: Jul 2007
Posts: 6
Credits: 0
Rep Power: 0
karateboy02 is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 09:37 AM
hoser2001's Avatar   
hoser2001 hoser2001 is offline
Programmer
 
Join Date: Jul 2006
Posts: 175
Credits: 0
Rep Power: 10
hoser2001 is on a distinguished road
Default

What is the database you are using? (ms sql, oracle, mysql, etc.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-07-2007, 09:40 AM
hoser2001's Avatar   
hoser2001 hoser2001 is offline
Programmer
 
Join Date: Jul 2006
Posts: 175
Credits: 0
Rep Power: 10
hoser2001 is on a distinguished road
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-07-2007, 11:06 AM
karateboy02 karateboy02 is offline
Newbie
 
Join Date: Jul 2007
Posts: 6
Credits: 0
Rep Power: 0
karateboy02 is on a distinguished road
Default

Yes it's SQL Server, and thank you very much for the link, I will check it out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-11-2007, 08:08 AM
karateboy02 karateboy02 is offline
Newbie
 
Join Date: Jul 2007
Posts: 6
Credits: 0
Rep Power: 0
karateboy02 is on a distinguished road
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials 9 08-23-2008 03:22 PM
Switching Between Windows Forms karateboy02 Managed C++ 3 08-03-2007 07:49 PM
Visual Studio 2005 and Windows Vista Jordan General Programming 3 01-22-2007 03:21 PM
Windows Forms MDI question. hoser2001 C# Programming 10 08-11-2006 06:36 PM
Installing SQL server on Windows XP 64 bit roger Database & Database Programming 1 05-23-2006 10:13 AM


All times are GMT -5. The time now is 04:43 PM.

Contest Stats

Xav ........ 1276.19
MeTh0Dz|Reb0rn ........ 1047.22
marwex89 ........ 869.98
morefood2001 ........ 868.04
John ........ 857.15
WingedPanther ........ 761.06
Brandon W ........ 682.56
chili5 ........ 294.12
dargueta ........ 192.86
Steve.L ........ 192.06

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 81%

Ads