Home > Back-end >  Could you tell me why I use TStringGrid (DBGrid1). The RowCount; Countless according to return is 2
Could you tell me why I use TStringGrid (DBGrid1). The RowCount; Countless according to return is 2

Time:11-06

Should not be a 1, I want to take advantage of this to count I have how many rows query results

CodePudding user response:

Want to check the results of how many rows, with DBGrid1. The DataSource. The DataSet. The RecordCount is ok, why use TStringGrid (DBGrid1). The RowCount?
TStringGrid and TDBGrid no inheritance, is can't use TStringGrid (DBGrid1) this way,

CodePudding user response:

Ok, I'll try

CodePudding user response:

RecordCount return data is better,
  • Related