Home > Software engineering >  MSFLEXGRID control to form content saved to the database can save the form directly?
MSFLEXGRID control to form content saved to the database can save the form directly?

Time:09-28

Now with each grid method is the line by line by column read. Can use is a bit slower.

Excuse me method is directly across the table to save, and then read the whole table?

CodePudding user response:

Don't you useless TextMatrix () to read? This does not slow,

CodePudding user response:

Read can one-time display using the method of binding to the controls, save the need to write code to implement
Binding statement:
Rs. Open the "select * from tablename", conn, adopenkeyset, adlockreadonly
The set mshflexgrid.
the datasource=rs

CodePudding user response:

Cycle,
A line of an insert statement,
The batch,
  • Related