LoadExcel
---------------------------------------
Shows how to load XLSX/CSV/TXT file into FlexGrid using the C1Excel library.

This sample is a very primitive example that shows how to load an Excel file into C1FlexGrid.

It loops through each cell of the file and sets it to the grid. To avoid loading hundreds of empty columns which typically exist in Excel files, this code is set to not load columns that have no text in the first row. This should be modified given your scenario. Also this sample hides the column and row headers, but that can be easily changed with the HeadersVisibility property.

Add support to load csv/txt files.