Click here to Skip to main content
15,910,661 members

Comments by vikram_shinde (Top 22 by date)

vikram_shinde 20-Nov-12 10:51am View    
As a string. But in WSDL it has type restriction as Date so whatever you assign to it , it becomes CheckInDate="2012-11-25 12:00:00 AM".

After applying datetime formatting I am getting result as CheckInDate="2012-11-25"
but after assigning this formatted result it appends time stamp.

I have done like -

WSProxy.HotelSearchRequestCT hs = new HotelSearchRequestCT();
hs.City = "WAS";
DateTime d = DateTime.Parse("2012-11-25");
hs.CheckInDate = d.ToString("yyyy-MM-dd"); // CheckInDate = 2012-11-25 12:00:00 AM

vikram_shinde 20-Nov-12 8:39am View    
I tried by doing same way but still it's appending timestamp.
vikram_shinde 15-Nov-12 7:23am View    
You are right, backup file is corrupted.
vikram_shinde 14-Nov-12 14:18pm View    
I tried - giving file name in different ways, properly checked for any typos by me,
changed file location . Yes, file actually exists on hard drive. I will check for whether file is corrupted.
vikram_shinde 14-Nov-12 14:01pm View    
I have been through this article. But still getting error.