Hi
How to sort the entire row of excel based on the selected column using C#.
I have an excel sheet containing data in diffrent columns(Say Column A,Column B, Column C), Based on Column A, I want to sort the data present in that Entire row.(i.e Based on column entire row shoulh swap)
Column A Column B Column C
| Name | Age | Address |
| Paul | 20 | USA |
| John | 22 | California |
| Grep | 45 | Cannada |
| Swen | 67 | Aus |
After Sorting Column A the result should be like,
Column A Column B Column C
| Name | Age | Address |
| Grep | 45 | Cannada |
| John | 22 | California |
| Paul | 45 | USA |
Swen Regards ewas | 67 | Aus |