The value is a smallint (50). It has nothing to do with datetime.
Has it something to do with the fact i use the event "RowUpdating"?
>> >* Justin wrote, On 30-7-2007 16:11:
>> >> Hi,
[quoted text clipped - 36 lines]
> It means the value you're passing in isn't a valid DateTime. What is
> vlgn equal to?
SAL - 30 Jul 2007 17:13 GMT
Hmmm, suspicious!
I'm going to guess that there's a date field in your grid and that the grid
is actually trying to update that field. I've had this happen on a few
occasions and what I had to do was to check the values that were in the row
and set the offending value to null, if that's what it should be...
Poke around a bit and you may find the same thing...
HTH
S
> The value is a smallint (50). It has nothing to do with datetime.
> Has it something to do with the fact i use the event "RowUpdating"?
[quoted text clipped - 41 lines]
>> It means the value you're passing in isn't a valid DateTime. What is
>> vlgn equal to?
Larry Bud - 30 Jul 2007 19:19 GMT
> >> >* Justin wrote, On 30-7-2007 16:11:
> >> >> Hi,
[quoted text clipped - 36 lines]
> > It means the value you're passing in isn't a valid DateTime. What is
> > vlgn equal to?-
> The value is a smallint (50). It has nothing to do with datetime.
> Has it something to do with the fact i use the event "RowUpdating"?
Please post your reply at the bottom so the conversation follows a
logical flow...
Can you run your SQL statement Query Analyzer? If so, you need to
capture the SQL that's being generated from your app by using SQL
Profiler.
Justin - 30 Jul 2007 20:55 GMT
Ok, thanks, i'll try ...
>> >> >* Justin wrote, On 30-7-2007 16:11:
>> >> >> Hi,
[quoted text clipped - 51 lines]
> capture the SQL that's being generated from your app by using SQL
> Profiler.