private static string[] GetColumnRangeForExcel(IFileLog fileLog) { string[] townNameArray = null; if (fileLog.FileName) //// Error 245 Cannot implicitly convert type 'string' to 'bool' { townNameArray = "select Town Name from [" + fileLog.FileName + "$]"; //// Error 246 Cannot implicitly convert type 'string' to 'string[]' } }
SELECT * FROM [Sheet1$A1:A65536]
SELECT [F1] FROM [Sheet1$]
SELECT [NamedColumn] FROM [Sheet1$]
WCEL_DBBH_REPORT_MASTER_HAR_20140803.xls
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)