F fjtxwd Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #1 比如给dbgrideh中第一行第二列赋个值,代码要怎么写?
7 7030 Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #2 DBGrid1.First; DBGrid1.DataSource.DataSet.Edit; DBGrid1.DataSource.DataSet.FieldByName('FilldName').AsString:='value'; DBGrid1.DataSource.DataSet.Post;
DBGrid1.First; DBGrid1.DataSource.DataSet.Edit; DBGrid1.DataSource.DataSet.FieldByName('FilldName').AsString:='value'; DBGrid1.DataSource.DataSet.Post;
L lixin0117 Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #3 dbgrideh1.DataSource.DataSet.First; dbgrideh1.DataSource.DataSet.Edit; dbgrideh1.DataSource.DataSet.Fields[1].AsString := ''; dbgrideh1.DataSource.DataSet.Post;
dbgrideh1.DataSource.DataSet.First; dbgrideh1.DataSource.DataSet.Edit; dbgrideh1.DataSource.DataSet.Fields[1].AsString := ''; dbgrideh1.DataSource.DataSet.Post;
F fjtxwd Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #4 dbgrideh不连接datasource 直接在单元格中赋值可不可以?
格 格式化. Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #6 DBGridEh.Columns[0].Footer.Value := 'TestText';
D DZHZH2000 Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #7 TRxMemoryData+TDataSource+DBGridRh 这个方式可以直接在dbgrid里编辑数据 你可以先给TRxMemoryData定义字段,然后赋值
F fjtxwd Unregistered / Unconfirmed GUEST, unregistred user! 2008-08-15 #8 dbgrideh1.SumList.Active:=true; dbgrideh1.Columns[0].Footer.valuetype:=fvtStaticText; dbgrideh1.Columns[0].Footer.value:='zongji'; 这方法可以
dbgrideh1.SumList.Active:=true; dbgrideh1.Columns[0].Footer.valuetype:=fvtStaticText; dbgrideh1.Columns[0].Footer.value:='zongji'; 这方法可以