Click here to Skip to main content
15,900,644 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using controls from VS2005 in VS2003 Pin
Dave Kreskowiak3-Apr-08 4:21
mveDave Kreskowiak3-Apr-08 4:21 
GeneralRe: Using controls from VS2005 in VS2003 Pin
Pete O'Hanlon4-Apr-08 10:50
mvePete O'Hanlon4-Apr-08 10:50 
GeneralWhile loop in C# Pin
oshadhi3-Apr-08 1:18
oshadhi3-Apr-08 1:18 
GeneralRe: While loop in C# [modified] Pin
rah_sin3-Apr-08 1:23
professionalrah_sin3-Apr-08 1:23 
GeneralRe: While loop in C# Pin
Colin Angus Mackay3-Apr-08 1:24
Colin Angus Mackay3-Apr-08 1:24 
GeneralRe: While loop in C# PinPopular
Luc Pattyn3-Apr-08 1:33
sitebuilderLuc Pattyn3-Apr-08 1:33 
GeneralRe: While loop in C# Pin
Paul Conrad3-Apr-08 6:06
professionalPaul Conrad3-Apr-08 6:06 
GeneralRe: While loop in C# Pin
DaveyM693-Apr-08 7:57
professionalDaveyM693-Apr-08 7:57 
GeneralRe: While loop in C# Pin
Luc Pattyn3-Apr-08 8:32
sitebuilderLuc Pattyn3-Apr-08 8:32 
GeneralRe: While loop in C# Pin
DaveyM693-Apr-08 10:05
professionalDaveyM693-Apr-08 10:05 
GeneralRe: While loop in C# Pin
Luc Pattyn3-Apr-08 10:21
sitebuilderLuc Pattyn3-Apr-08 10:21 
GeneralInteresting problem with XML nodes Pin
Krippers3-Apr-08 1:12
Krippers3-Apr-08 1:12 
GeneralRe: Interesting problem with XML nodes Pin
panoskatws3-Apr-08 3:12
panoskatws3-Apr-08 3:12 
GeneralThanks Pin
Krippers3-Apr-08 4:05
Krippers3-Apr-08 4:05 
GeneralRe: Interesting problem with XML nodes [modified] Pin
PIEBALDconsult3-Apr-08 7:16
mvePIEBALDconsult3-Apr-08 7:16 
GeneralRe: Interesting problem with XML nodes Pin
Krippers4-Apr-08 2:28
Krippers4-Apr-08 2:28 
GeneralRe: Interesting problem with XML nodes Pin
PIEBALDconsult5-Apr-08 7:05
mvePIEBALDconsult5-Apr-08 7:05 
Generaldrop down list selected index changed event Pin
chithra.r3-Apr-08 1:10
chithra.r3-Apr-08 1:10 
GeneralRe: drop down list selected index changed event Pin
rah_sin3-Apr-08 1:17
professionalrah_sin3-Apr-08 1:17 
GeneralRe: drop down list selected index changed event Pin
chithra.r3-Apr-08 2:47
chithra.r3-Apr-08 2:47 
QuestionHow to reset binding of textbox control? [modified] Pin
Hum Dum3-Apr-08 0:54
Hum Dum3-Apr-08 0:54 
AnswerRe: How to reset binding of textbox control? Pin
darkelv3-Apr-08 0:59
darkelv3-Apr-08 0:59 
GeneralRe: How to reset binding of textbox control? Pin
Hum Dum3-Apr-08 1:03
Hum Dum3-Apr-08 1:03 
GeneralRe: How to reset binding of textbox control? Pin
darkelv3-Apr-08 1:48
darkelv3-Apr-08 1:48 
Generalaccess datetime Pin
Razvan Dimescu3-Apr-08 0:49
Razvan Dimescu3-Apr-08 0:49 
What the hell is wrong with this?

myStoredProcedure definition:
UPDATE Reminders SET lastModificationTime = [@lastModificationTime]
WHERE reminderId=[@reminderId];


lastModificationTime is set to Date/Time in my table

I just want to update the damn time from my code:

<code>
updateCommand.CommandText = "myStoredProcedure"
updateCommand.Parameters.AddWithValue("lastModificationTime", DateTime.Now);
updateCommand.Parameters.AddWithValue("reminderId", 1);
updateCommand.ExecuteNonQuery();
</code>

I get a "Data type mismatch in criteria expression" for the last modification time parameter


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.