I have a excel sheet contains three columns Name, Email ID and Contact No. I would like to read data from a excel data and check through my code that the Email ID column contains @ sign, Contact No should be of maximum 10 digits, I would like to do these types of validation.
Please suggest.
I have a excel sheet contains three columns Name, Email ID and Contact No.
Share
Easier than interop, you may also use an OleDbConnection.
Here is an example