Click here to Skip to main content
15,895,142 members
Home / Discussions / Database
   

Database

 
GeneralRe: Doing LIKE for a numeric column Pin
Menny Even Danan5-Dec-04 1:17
Menny Even Danan5-Dec-04 1:17 
GeneralDoing LIKE for a numeric column Pin
Boaz V1-Dec-04 4:43
Boaz V1-Dec-04 4:43 
GeneralRe: Doing LIKE for a numeric column Pin
Colin Angus Mackay1-Dec-04 5:07
Colin Angus Mackay1-Dec-04 5:07 
GeneralRe: Doing LIKE for a numeric column Pin
Chris Meech1-Dec-04 5:17
Chris Meech1-Dec-04 5:17 
GeneralMissing data from result Pin
Andy *M*30-Nov-04 13:14
Andy *M*30-Nov-04 13:14 
GeneralRe: Missing data from result Pin
Andy *M*30-Nov-04 13:39
Andy *M*30-Nov-04 13:39 
GeneralWin 2000, .net deployment Pin
Member 155577930-Nov-04 9:10
Member 155577930-Nov-04 9:10 
GeneralUnusual INSERT INTO problem using ADO, C# and MSAccess DB Pin
donmorr30-Nov-04 7:01
donmorr30-Nov-04 7:01 
Hi There,
Having a unusual problem. When I execute the following INSERT Command in MSAccess, the row is inserted:

INSERT INTO Counter (ID, ParentID, name, maxValue, minValue, ticksPerBase, isSynchronised, assocTimeBase, OS_Sync) VALUES ('C9', 'example.oil', 'counter1', '65535', '1', '1', 'False', 'ts_counter1', 'True')

However, when I try and execute the exact same command in my C# application using the following:

dbConn.Open();
OleDbDataAdapter dbQuery = new OleDbDataAdapter(query, dbConn);

I get an invalid syntax error. I'm not sure if its the correct way to execute an INSERT statement but it works for inserting data into all other tables in the database!!

All the fields are of type text and the first field is he primary key.

Any ideas,
Cheers,
Donal


GeneralRe: Unusual INSERT INTO problem using ADO, C# and MSAccess DB Pin
Luis Alonso Ramos30-Nov-04 8:11
Luis Alonso Ramos30-Nov-04 8:11 
GeneralRe: Unusual INSERT INTO problem using ADO, C# and MSAccess DB Pin
donmorr30-Nov-04 8:23
donmorr30-Nov-04 8:23 
GeneralRe: Unusual INSERT INTO problem using ADO, C# and MSAccess DB Pin
Anonymous1-Dec-04 1:59
Anonymous1-Dec-04 1:59 
GeneralDataset 2 Xml - attribute problem Pin
Xabatcha30-Nov-04 3:11
Xabatcha30-Nov-04 3:11 
GeneralAdding large strings (greater than 255chars) to Access DB via c# ADO Pin
donmorr30-Nov-04 2:19
donmorr30-Nov-04 2:19 
GeneralRe: Adding large strings (greater than 255chars) to Access DB via c# ADO Pin
Luis Alonso Ramos1-Dec-04 17:59
Luis Alonso Ramos1-Dec-04 17:59 
Generalraising event from SQL-Server to C# Pin
TehMedic29-Nov-04 21:07
TehMedic29-Nov-04 21:07 
GeneralRe: raising event from SQL-Server to C# Pin
Colin Angus Mackay30-Nov-04 5:30
Colin Angus Mackay30-Nov-04 5:30 
GeneralADO connection to NT Personal Oracle Pin
Member 155378429-Nov-04 18:13
Member 155378429-Nov-04 18:13 
GeneralRecord is killed after UPDATE Pin
realmontanakid29-Nov-04 11:04
realmontanakid29-Nov-04 11:04 
GeneralRe: Record is killed after UPDATE Pin
realmontanakid29-Nov-04 20:43
realmontanakid29-Nov-04 20:43 
GeneralCopy rows from one table from another Pin
Luis Alonso Ramos29-Nov-04 9:23
Luis Alonso Ramos29-Nov-04 9:23 
GeneralRe: Copy rows from one table from another Pin
Edbert P29-Nov-04 10:56
Edbert P29-Nov-04 10:56 
GeneralRe: Copy rows from one table from another Pin
Luis Alonso Ramos29-Nov-04 11:22
Luis Alonso Ramos29-Nov-04 11:22 
GeneralRe: Copy rows from one table from another Pin
Luis Alonso Ramos30-Nov-04 8:14
Luis Alonso Ramos30-Nov-04 8:14 
GeneralRe: Copy rows from one table from another Pin
Edbert P30-Nov-04 10:49
Edbert P30-Nov-04 10:49 
GeneralRe: Copy rows from one table from another Pin
Luis Alonso Ramos30-Nov-04 13:25
Luis Alonso Ramos30-Nov-04 13:25 

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.