Shahid-Abbasi
asked on
Problem in load excel data into dataset using datadapet.fill method
Hi
When i load the excel data into dataset using datadapet.fill method, It shows empty cell value where invalid dates are present. I want to show the error of invalid date. kindly help to me to sort the issue.
When i load the excel data into dataset using datadapet.fill method, It shows empty cell value where invalid dates are present. I want to show the error of invalid date. kindly help to me to sort the issue.
ASKER
same thing is happening while using a datareader aswell.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
strange, this issue is very common, but expert team is failed to provide me the solution of this issue,
1. Read the data using DataReader
2. Try Parse your date column to valid dates, if not possible alert to the user.