Fetched the data from the database using two SQL queries to bring all the necessary grid information into the Excel sheet.

Ensured the correct mapping of headers and data so that each column in the Excel file displayed the appropriate label and value.

Found an issue where the “code” fields were not showing values in the exported Excel file.

Debugged and fixed the error by identifying the missing or incorrect data binding in the query or export logic.

After the fix, the Excel sheet correctly displayed all header names and corresponding values, including the code fields.