CodePudding user response:
Define the DBGrid Column, and a headerCodePudding user response:
Set the number of Columns TDBGrid, then an account for each Column header.CodePudding user response:
For I:=0 to DBGrid1. Columns. Do the Count - 1DBGrid1. Columns [I]. Title. Caption:='123';
CodePudding user response:
There are two ways toThe first: dynamic
DBGrid1 - & gt; The Columns [I] - & gt; The Title - & gt; Caption:='123'.
The second: static
Design period directly in the each field of ADOQuery1 Settings