I am trying to upload records into entity using excel file,
but I want that my excel file should be in the correct format i.e. columnnames which are madatory should be present in the respective excel file.
Hence, I want to check if required columns are present in the excel or not, if yes then only proceed with upload of data else throw error message and inform user.

I am using  Upload control to upload file and then ExcelTorecordList to import data from excel.
But in between I need to check the above criteria,
Please help me in this regards, as I am not able to get column names of excel from upload control, is there is any other way?
Hi Hemlata,

Try using this from Excel_Package extension.

You need to customize code for this action. Hope this helps.

Thanks and Regards,
Suraj Borade