Dear Mukesh,
This is very simple and easy to prepare the ECR file, just login into the employer portal and download the ECR Instructions.
The format is attached for your ready reference, delete the first row when you enter the whole data then save the excel file as comma delimited, then replace all "," with "#~#" as per instruction file.
Hope above will help you.
regards,