Home > Back-end >  About newcomer for Delphi, read the known path EXCEL data code inside
About newcomer for Delphi, read the known path EXCEL data code inside

Time:09-24

I didn't study Delphi, just read a few days, now want to implement a function:
1. Build an excel spreadsheet, then just fill in some data, to save him,
2. Open the Delphi and pull control what of, such as SERVE - excelapplication, this, and then write programs with a label or edit data shows that the first step in the excel table,
I groped for a day, yesterday, slag (too) have realized the EXCEL in the case of open to read, just don't know how to read it in EXCEL to close case, I've tried DOWN the code on the net, trying not to come out,,, I really feel where blocked, very confused)
So to come here to help, because I saw some people use COMOBJ implementation, then the path is too long to be obtained, I am the true is out.
Consult everybody, where do I

CodePudding user response:

His first cap, I feel is in the memory inside open the excel and then you can read, but what this code didn't find can

CodePudding user response:

Excel can be read directly with ADO, if just deal with excel spreadsheet data, can be directly configuration JET

CodePudding user response:

The first thing to is clear when a database table or general operation

CodePudding user response:

reference 1st floor manjix response:
to be the top, I feel is in the memory inside open the excel and then you can read, but what this code didn't find can


refer to the second floor doloopcn response:
excel can be read directly with ADO, if just deal with excel spreadsheet data, can be directly configuration JET

You be the interface from where to open ah, I be a small white, what is the JET,,

CodePudding user response:

reference liups reply: 3/f
first is clear when a database table or general operations

Originally wanted to be a database table to use, but I'm a little database fur all can't, now want to without database, open the read operation code, only can do it

CodePudding user response:

reference 5 floor manjix reply:
Quote: refer to the third floor liups response:

First is clear when a database table or general operations

Originally wanted to be a database table to use, but I'm a little database fur all can't, now the database is a want to, can only open the read operation code, do you

Dizzy, improper use database, to find a control line (generally provide demo)

CodePudding user response:

ADOConnection controls, connection with
ADOQuery query with
  • Related