SQL DateTime

D

Donnie

Howdy
my problem is i am calling a webservice from a asp written
in javascript, when i pass the xml to my web service it
contains strings and some sqldatetime variables, but when
the webservice receives the xml, the sqldatetime elements
are empty. the webservice is written in c#

any help would be great thx.
Donnie
 
N

Nick Harris

Just a hunch, but it sounds to me like there is a type mis-match going on
that you don't know about. Try hard coding a SQL Datetime that you know is
right e.g. 1/1/1900 and see if it's still empty. Also make sure that the
receving xml (if it has a schema) is using the write datetime data type.

If all still fails, you can always pass a good date as a string and convert
it on the server. But this is worst case senario.

Let me know.

Nick Harris, MCSD
http://www.VizSoft.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top