Issue with DatetimePicker data

Error String: The string was not recognized as a valid DateTime. There is a unknown word starting at index 0.

  The reason for this issue is, the application is trying to convert the data from DateTimePicker to datetime and it's failing.

   The reason is, I;ve tried to pick the data wrongly. dtTimePicker.ToString() -> Instead we have to use dtTimePicker.Text.

Cheers,
Venkatesan Prabu .J
Ebook Download
View all
Learn
View all