Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i would like to design a one window form app but i would like use backend as MS-EXCEL in the place of database ? it is possible or not ? if it is possible !! please explain how it is ?

What I have tried:

I am only try from database .it is successful from database. now I am required from MS-EXCEL
Posted
Updated 1-Jun-16 13:51pm
Comments
ZurdoDev 1-Jun-16 14:05pm    
You change your connection string to be one that supports excel and then the same code can work that you used to access a db.
Sergey Alexandrovich Kryukov 1-Jun-16 14:23pm    
Bad idea. (Required by who? :-) Excel is nothing like back end. However, it's a popular misconception to consider Excel as a database, especially haunting certain industries. With equal success, you can consider something like a plain text file as a "database". All you need to do it to get rid of this illusion. Either use "real" database management systems, or use Excel (but why?) without pretending you are dealing with the database.

Let me tell you: one of the strongest signs of low-tech development (which does not mean simple or easy) is using Microsoft Office.

—SA

Though it is possible to query an Excel workbook like a database, it makes a very poor database engine. Just don't do it.
 
Share this answer
 
Quote:
it is possible or not ?
Possible ? Yes
Efficient , No

the problem with Excel is that any query is done by using brut force. Any query require to read every record of the database one by one to check the query conditions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900