Click here to Skip to main content
15,916,215 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL and loops Pin
mhmo27-Jun-05 22:34
mhmo27-Jun-05 22:34 
GeneralRe: SQL and loops Pin
MicrosoftBob28-Jun-05 4:45
MicrosoftBob28-Jun-05 4:45 
GeneralRe: SQL and loops Pin
J4amieC27-Jun-05 22:15
J4amieC27-Jun-05 22:15 
GeneralRe: SQL and loops Pin
mhmo27-Jun-05 22:35
mhmo27-Jun-05 22:35 
GeneralRe: SQL and loops Pin
J4amieC28-Jun-05 2:48
J4amieC28-Jun-05 2:48 
GeneralRe: SQL and loops Pin
Matt Gerrans28-Jun-05 9:42
Matt Gerrans28-Jun-05 9:42 
GeneralRe: SQL and loops Pin
mhmo28-Jun-05 19:30
mhmo28-Jun-05 19:30 
GeneralADOX table Pin
Bruzak27-Jun-05 19:43
Bruzak27-Jun-05 19:43 
Hi there,

Assume a database with some tables made in Access 2000.
I can connect to it via oledbadapter (from C#) read rows, add rows etc.
Then I use ADOX to add a new table. The columns are created but no rows added.
The new table seems to be OK in Access 2000.
In Access I can add/delet rows.

BUT! When I try to add a new row via the oledbadapter (from C#) it fails.
Upon
MyoledbAdapter.InsertCommand.ExecuteNonQuery();
I get the error message “Syntax error in command”.
Well, there is no syntax error. The very same code inserts a new row into the other tables that were created in Access without any problem. (and of course I checked and double and triple checked it)

Of course I am missing something. But what? Is the table created with ADOX different? On what way?

I tried to find if there is a difference but it seems to be hopeless.

Pls. direct me to the source if you know where it is.

Many thanks,

Akos

GeneralMultiple Forms Pin
Shashidharreddy27-Jun-05 19:39
Shashidharreddy27-Jun-05 19:39 
GeneralRe: Multiple Forms Pin
Christian Graus27-Jun-05 19:49
protectorChristian Graus27-Jun-05 19:49 
GeneralNeed help in C#.NET 2005 beta 2 Pin
tom_dx27-Jun-05 15:03
tom_dx27-Jun-05 15:03 
GeneralRe: Need help in C#.NET 2005 beta 2 Pin
S. Senthil Kumar27-Jun-05 16:29
S. Senthil Kumar27-Jun-05 16:29 
GeneralRe: Need help in C#.NET 2005 beta 2 Pin
Christian Graus27-Jun-05 16:39
protectorChristian Graus27-Jun-05 16:39 
GeneralRe: Need help in C#.NET 2005 beta 2 Pin
tom_dx28-Jun-05 6:24
tom_dx28-Jun-05 6:24 
GeneralRe: Need help in C#.NET 2005 beta 2 Pin
tom_dx28-Jun-05 6:40
tom_dx28-Jun-05 6:40 
GeneralManipulating TreeView Nodes and C# Pin
crazy_girl27-Jun-05 13:13
crazy_girl27-Jun-05 13:13 
GeneralRe: Manipulating TreeView Nodes and C# Pin
S. Senthil Kumar27-Jun-05 16:31
S. Senthil Kumar27-Jun-05 16:31 
GeneralRe: Manipulating TreeView Nodes and C# Pin
crazy_girl29-Jun-05 6:40
crazy_girl29-Jun-05 6:40 
GeneralUsing Passport .NET for SSI Pin
dgap27-Jun-05 13:07
dgap27-Jun-05 13:07 
Generalgraphics.Clear(color) - Incorrect color! Pin
redact20727-Jun-05 9:26
redact20727-Jun-05 9:26 
GeneralRe: graphics.Clear(color) - Incorrect color! Pin
Daniel Monzert27-Jun-05 10:01
Daniel Monzert27-Jun-05 10:01 
GeneralRe: graphics.Clear(color) - Incorrect color! Pin
redact20727-Jun-05 10:20
redact20727-Jun-05 10:20 
GeneralRe: graphics.Clear(color) - Incorrect color! Pin
Dan Neely27-Jun-05 10:47
Dan Neely27-Jun-05 10:47 
GeneralRe: graphics.Clear(color) - Incorrect color! Pin
Roger Alsing28-Jun-05 2:30
Roger Alsing28-Jun-05 2:30 
GeneralRe: graphics.Clear(color) - Incorrect color! Pin
Anthony Baraff28-Jun-05 2:32
Anthony Baraff28-Jun-05 2:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.