anilsarda777 wrote:
but i want to check whether the file im uploading consist productname and price(this r 2 header), then only it should upload.
Can't be done. how do you check the contents of a file without uploading it first ?
Your code will run after it's uploaded, so that is OK. I think I've read this code and question before, do you have more than one account ?
Here[
^] is a ton of info on how to read an Excel sheet in VB.NET. Notice how I got it ?