views:

128

answers:

1

This will result to an error because c# variable testDate is different in format from the Javascript variable testDate

jquery:

$.getJson
url= "/Home/GetJasonData"
testDate = '1/1/2009 10:01:01:123'

controller:

void GetJasonData(DateTime testDate)
{

}
A: 

How about instead of:

testDate = '1/1/2009 10:01:01:123'

Try this:

testDate = '2009-01-01 10:01:01.123'
Chris
I will try that one
Fleents