web services - String was not recognized as a valid DateTime error -


i'm getting "string not recognized valid datetime." error message when consume web service below.

[webmethod] public exdatatype getodatatypes(exdatatype value) {     return (value); }  public class exdatatype {     private system.datetime datefield;      [system.xml.serialization.xmlelementattribute(datatype = "date")]     public datetime date     {                 {                 return this.datefield;         }         set         {             this.datefield = value;          }     }           } 

input 2015-07-15t12:12:12


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -