To read number of rows in an excel sheet

I have to know the number of rows in an uploaded excel sheet in order to give a validation based on number of rows in the excel sheet. Can anyone help in this please.

Thanks in Advance,

Pramod

  Discussion posts and replies are publicly visible