Hi, I am using vb.net 2010 express.
I am connecting to a sql server database and trying to pass a time parameter to a query.
But because the time variable in vb is '05:00:00' I get a sql date time overflow error. IT seems to be expexting a date and time !
Is there some easy way of adding the time to a default date say 01/01/01 in vb.net then I can strip off the date in my query or stored procedure and add time to the Time column in my database
Thanking you
I am connecting to a sql server database and trying to pass a time parameter to a query.
But because the time variable in vb is '05:00:00' I get a sql date time overflow error. IT seems to be expexting a date and time !
Is there some easy way of adding the time to a default date say 01/01/01 in vb.net then I can strip off the date in my query or stored procedure and add time to the Time column in my database
Thanking you