随笔写写

动态显示标题
  with dbgrdh1 do
  begin
  Columns.Clear;  
  for i:=0 to ADOQuery1.FieldCount-1 do  
  with Columns.Add do  
  begin  
  FieldName:=ADOQuery1.Fields[i].FieldName;  
  end;
  end;
}

posted @ 2012-02-07 18:02  byronming  阅读(145)  评论(0编辑  收藏  举报