J jenemery Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-28 #1 我想得到DBGrid被选中那行的索引值?请问如何实现??? 在线等待!!!!!!!!!!!!!!!1
A antic_ant Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-28 #3 你就取对应的datasource的dataset的值不就可以了吗
J jsxjd Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-29 #6 procedure TForm1.Button1Click(Sender: TObject); var n:integer; begin n:=TStringGrid(dbgrid1).row; showmessage(inttostr); end;
procedure TForm1.Button1Click(Sender: TObject); var n:integer; begin n:=TStringGrid(dbgrid1).row; showmessage(inttostr); end;
P Peter.pan Unregistered / Unconfirmed GUEST, unregistred user! 2002-10-29 #7 adoquery1.fieldbyname('id').asinteger