nahradil jsem to tímto:
String sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + (HttpContext.Current.Server.MapPath ("data.xls")) + ";Extended Properties=\"Excel 8.0;HDR=No\"";
OleDbConnection objConn = new OleDbConnection(sConnectionString);
...a stále nefunguje, tohle hází chybu cannot be used like a method...