Ne arayalım?

ARAMIZA KATILIN

BİZE ULAŞIN

Adres:

E-posta:

host/bin/bilisimlife.dll

iletisim@bilisimlife.net




 
Rserit
Developer
       
 1026  
 278

Excel External table is not in the expected format Hatası

Merhaba,
Excel'den veri çekerken "External table is not in the expected format" hatası verebilir. Connection string ile ilgili bir durum.

Connection string'e HDR=YES ve IMEX=1 eklerini getirdiğimiz zaman sorun düzelmekte.
Örnek:


string connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Excel_Dosya_Adi + ";Extended Properties="Excel 12.0;HDR=YES;IMEX=1"";

Iyi çalışmalar,
Recep.

Developer.