This my web service request:
[System.Xml.Serialization.XmlElementAttribute("Duration", typeof(string), DataType="duration", Order=1)]
[System.Xml.Serialization.XmlElementAttribute("EndDate", typeof(System.DateTime), Order=1)]
public object Item {
get { return this.itemField; }
set { this.itemField = value; }
}
How to set the value EndDate and Duration from the object.
Just now i just set like below:
dateRange.Item = DateTime.now
From above code onli set the EndDate and how to set the value from duration.