H
hehehehehe
Unregistered / Unconfirmed
GUEST, unregistred user!
Ehlib的DBGridEh首列加序号 procedure TDBViewFrm.DBGridEh1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumnEh; State: TGridDrawState);begin if Column.Index = 0 then if DBGridEh1.SumList.RecNo <> -1 then DBGridEh1.Canvas.TextRect(Rect, Rect.Left + 3, Rect.Top + 2, IntToStr(DBGridEh1.SumList.RecNo));end;那要把记录保存到数据库,这个序号怎么办,取不到数据