Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过 jquery ajax 调用从 javascript 调用 wcf rest 服务,而我的服务主体样式是裸露的。出于某种原因,我无法添加包裹的车身样式。我想将日期参数发送给服务。请一些身体帮助。
我不知道它是否是最好的解决方案,但通过使用 Class 和类成员 DateTime 来解决它。IE
Class SampleClass{ private DateTime _sampleDate; public DateTime SampleDate { get { return _sampleDate; } set { _sampleDate= value; } } }
使用上述对象来传递日期。