Read data from LibreOffice excel sheet and bind to gridview
read data from LibreOffice excel sheet and bind that data to grid view can any one please send me the code for it
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Rahul PrasadRank #2,557 · 546 reputationPosted Apr 21, 2016, 7:55 PM EDT
Workbook workbook = new Workbook();
//Load a file and imports its data
workbook.LoadFromFile(@”..\FandH.xlsx”);
//Initialize worksheet
Worksheet sheet = workbook.Worksheets[0];
// get the data source that the grid is displaying data for
this.dataGridView1.DataSource = sheet.ExportDataTable();