Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: Ping pong Pin
Not Active18-Sep-07 7:01
mentorNot Active18-Sep-07 7:01 
GeneralRe: Ping pong Pin
netJP12L18-Sep-07 8:30
netJP12L18-Sep-07 8:30 
GeneralRe: Ping pong Pin
Not Active18-Sep-07 8:49
mentorNot Active18-Sep-07 8:49 
GeneralRe: Ping pong Pin
netJP12L19-Sep-07 4:01
netJP12L19-Sep-07 4:01 
QuestionCustom Attribute : simple question Pin
Sha Sea18-Sep-07 5:29
Sha Sea18-Sep-07 5:29 
AnswerRe: Custom Attribute : simple question Pin
Pete O'Hanlon18-Sep-07 22:47
mvePete O'Hanlon18-Sep-07 22:47 
Questionmanaging different instance of application Pin
KrunalC18-Sep-07 4:19
KrunalC18-Sep-07 4:19 
QuestionDelete Query problems Pin
Jon Stroh18-Sep-07 3:26
Jon Stroh18-Sep-07 3:26 
I am having trouble with 3 delete queries in my c# application(Win Mobile database)and MSVS 2005, two other Delete queries run fine. All the Delete queries run fine on Win XP, just not in Vista(Vista's User Account Control off). Here is the simple query

DELETE FROM [tableName] I get error SQL Execution error 3640. I get this error whether I am debugging in msvs2005, or running in the Query Designer or if I just run the application outside of msvs2005.

I can get a Delete Query to work if i use the key columns like

DELETE FROM Horse
WHERE (CODE = @p1) AND (Stable = @p2) AND (HorseName = @p3)
this one is not really useful to me though since I am trying to delete all rows no matter the value in these columns.


Hope someone has an idea.Smile | :)



If not is there any other way I can delete all rows from a data table?
I didn't quite understand how to use TRUNCAT TABLE in the Query Designer in MSVS 2005.

If anyone will accept the database tables to see if they get teh same error I will be happy to send them to you.

Thank you
Jon Stroh
AnswerRe: Delete Query problems Pin
led mike18-Sep-07 4:21
led mike18-Sep-07 4:21 
GeneralRe: Delete Query problems Pin
Jon Stroh18-Sep-07 6:07
Jon Stroh18-Sep-07 6:07 
GeneralRe: Delete Query problems Pin
Jon Stroh18-Sep-07 19:54
Jon Stroh18-Sep-07 19:54 
QuestionScheduling the start of a web service Pin
Albu Marius18-Sep-07 2:02
Albu Marius18-Sep-07 2:02 
AnswerRe: Scheduling the start of a web service Pin
Pete O'Hanlon18-Sep-07 2:26
mvePete O'Hanlon18-Sep-07 2:26 
GeneralRe: Scheduling the start of a web service Pin
Albu Marius18-Sep-07 2:36
Albu Marius18-Sep-07 2:36 
GeneralRe: Scheduling the start of a web service Pin
Not Active18-Sep-07 2:48
mentorNot Active18-Sep-07 2:48 
GeneralRe: Scheduling the start of a web service Pin
led mike18-Sep-07 4:24
led mike18-Sep-07 4:24 
GeneralRe: Scheduling the start of a web service Pin
Not Active18-Sep-07 5:43
mentorNot Active18-Sep-07 5:43 
GeneralRe: Scheduling the start of a web service Pin
led mike18-Sep-07 6:22
led mike18-Sep-07 6:22 
GeneralRe: Scheduling the start of a web service Pin
Not Active18-Sep-07 6:30
mentorNot Active18-Sep-07 6:30 
GeneralRe: Scheduling the start of a web service Pin
led mike18-Sep-07 6:41
led mike18-Sep-07 6:41 
AnswerRe: Scheduling the start of a web service Pin
Dave Kreskowiak18-Sep-07 6:17
mveDave Kreskowiak18-Sep-07 6:17 
AnswerRe: Scheduling the start of a web service Pin
Albu Marius18-Sep-07 22:34
Albu Marius18-Sep-07 22:34 
GeneralRe: Scheduling the start of a web service Pin
Pete O'Hanlon19-Sep-07 1:16
mvePete O'Hanlon19-Sep-07 1:16 
GeneralRe: Scheduling the start of a web service Pin
Albu Marius19-Sep-07 2:42
Albu Marius19-Sep-07 2:42 
GeneralRe: Scheduling the start of a web service Pin
Pete O'Hanlon19-Sep-07 2:53
mvePete O'Hanlon19-Sep-07 2:53 

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.