1、生成默认的基本对话框工程,工程名为ProjectX。 2、添加DataGrid1控件:Ctrl+W打开类向导,工程->增加到工程->Components and Contols->Registered ActiveX Controls->Microsoft DataGrid Control 6.0 (sp6)(OLEDB)->Insert 3、为IDC_DATAGRID1关联变量m_DataGrid 4、Ctrl+W打开类向导,新建一个类,选择从Type Li
flex DataGrid 导出Xls private function insertRecordInSheet(row:int,sheet:Sheet,record:Object):void { var colCount:int = rebateByItemDG.columnCount; for(var c:int; c < colCount; c++) { var i:int = 0; for each(var field:String in fields){ for each (v