![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2005
Location: Ohio
Posts: 207
OS: VISTA
|
C# - Writeing to Access
Hi ive got a prblem I have gotten my code to read from database but i can't get it to use the INSERT * INTO comand the code i am tying is
Code:
OleDbCommand aCommand = new OleDbCommand("INSERT INTO Table2 (FirstName , LastName , Student ID , GPA) ('Joey', 'Grey', 2256, 3.4)", aConnection);
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: Aug 2005
Location: Ohio
Posts: 207
OS: VISTA
|
Re: C# - Writeing to Access
ok i got it working was missing the word VALUES
it would be like this for anyone who would like to know Code:
OleDbCommand aCommand = new OleDbCommand("INSERT INTO Table2 VALUES ('Joey', 'Grey', 2256, 3.4)", aConnection);
|
|
|
|
![]() |
| Thread Tools | |
|
|