Hi,

I have a excel sheet, in that the fields are:
Name,EmployeeID,Address,Email.
Sourabh,757,New Bombay,something@something.com

I have a C1.Win.FlexGrid in which I have put the same columns in this grid with one more colum in the starting as Select(Boolean).

This is the code that I have written.....

Code:
Dim ofd As New OpenFileDialog
Dim dgtemp As C1.Win.C1FlexGrid.C1FlexGrid
Dim fn As String = ""
Dim sheetname() As String

ofd.AddExtension = True
ofd.DefaultExt = ".xls"
ofd.Filter = "Microsoft Excel Workbook(*.xls)|*.xls"
ofd.ShowDialog()
fn = ofd.FileName
txtFile.Text = fn
dgtemp = New C1.Win.C1FlexGrid.C1FlexGrid

sheetname = dgtemp.LoadExcelSheetNames(fn)
dgtemp.LoadExcel(fn, sheetname(0), C1.Win.C1FlexGrid.FileFlags.IncludeFixedCells)
Thje bold part of the code is giving error as:
"Failed to open storage file."

Help...