Vasu Gadhiya

Vasu Gadhiya

  • NA
  • 429
  • 101.1k

How to add excelfile in resources, retrieve data from them

Oct 24 2013 2:37 AM
I used ExcelFile For data.

I write some data in excel.

Now i publish Project from Build menu and install in other pc, but data cant retrieve,

When i give this path

D:/list.xlsx and put file in d drive its completely Work,

-----
So i want to add file in resource.

But i cant retrieve data from them..

object o = pro2.Properties.Resources.list;

but it cant accept in connection String.

Any Other Way that i can merge Excel file in Setup and retrieve data. 

-------------------------
Thanks in advance


Answers (3)