B borlearn Unregistered / Unconfirmed GUEST, unregistred user! 2008-01-20 #1 请教各位: wwDbGrid表格中的数据如何导出到EXCEL中. 谢谢!
H huiqilin Unregistered / Unconfirmed GUEST, unregistred user! 2008-01-24 #2 wwDBGrid1.ExportOptions.ExportType:=wwgetSYLK; wwDBGrid1.ExportOptions.FileName:='DEMO.xls'; wwDBGrid1.ExportOptions.Save; ShellExecute(Handle, 'OPEN', PChar(wwDBGrid1.ExportOptions.FileName), nil, nil, sw_shownormal);
wwDBGrid1.ExportOptions.ExportType:=wwgetSYLK; wwDBGrid1.ExportOptions.FileName:='DEMO.xls'; wwDBGrid1.ExportOptions.Save; ShellExecute(Handle, 'OPEN', PChar(wwDBGrid1.ExportOptions.FileName), nil, nil, sw_shownormal);