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

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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -