c# ile excel işlemleri

-5

Bu benim balantı cümlem

static string yol1= @" = C:\\ Users \ " + Ortak.KullanıcıAdı + " \\ Desktop \\ " + ad + " " ;
        private OleDbConnection bag1 = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0; Data Source= "+ yol1 + ";Extended Properties='Excel 12.0 Xml; HDR=YES;Imex=1;'");

Ortak Bir ağdan çektiğim excel dosyasını masa üzerine kopyalıyorum ve kopyaladığım excel dosyasına erişim sağlamam gerekiyor Ama hata alıyorum.Aldığım hata ise şu ;

System.Data.OleDb.OleDbException: 'IErrorInfo.GetDescription başarısız: E_FAIL(0x80004005).'

Please Help me

c#
excel

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0