DBGrid选中行及获得所选中行指定列数据
DBGrid1->Options:
dgRowSelect True
dgRowAlwaysShowSelection True
Edit1.Text := DBGrid1.DataSource.DataSet.FieldByName('cloumn_name').Value;
网事随记
DBGrid1->Options:
dgRowSelect True
dgRowAlwaysShowSelection True
Edit1.Text := DBGrid1.DataSource.DataSet.FieldByName('cloumn_name').Value;
V