????DataTable???????????

 

DataTable.GetSheet(dtSheet)
DataTable.GetSheetCount
DataTable.[GetSheet.]GetRowCount
DataTable.[GetSheet.]GetParameterCount
DataTable.GetSheet(sSheetName).GetParameter(“ColumName”).ValueByName(iRowNumber)
DataTable.[GetSheet.]GetCurrentRow
DataTable.[GetSheet.]SetCurrentRow(RowNumber)
DataTable.Value(ParameterID [?? SheetID]) or DataTable (ParameterID [?? SheetID])
DataTable.AddSheet(SheetName)
DataTable.DeleteSheet(SheetName)
DataTable.Export(filename)
DataTable.ExportSheet(filename??SheetName)
DataTable.Import(FileName)
DataTable.ImportSheet(FileName?? SheetSource?? SheetDest)

????1.???datatable????????????GetRowCount
???????????????????????????????????????????????????????????????????????г??????е?????????
????????DataTable.GetRowCount
???????????????
?????????
?????????????? GetRowCount ???????? MySheet ???????????г??????е???????????????д???檔
????rowcount = DataTable.GetSheet("MySheet").GetRowCount
????Reporter.ReportEvent 2?? "????????????? " &rowcount?? "?С?
????2.???datatable???????????????GetParameterCount
????????DTSheet.GetParameterCount
???????? paramcount = DataTable.GetSheet("MySheet").GetParameterCount
????3.GetCurrentRow????
???????????????????????????????????????????????????????????????????????е??????????С?
????????DataTable.GetCurrentRow
???????????????
?????????
?????????????? GetCurrentRow ??????????????????????????????У???????д???檔
????row = DataTable.GetCurrentRow
????Reporter.ReportEvent 1?? "?к?"?? row
????4. ??????active??????????????1????SetCurrentRow
????????DataTable.SetCurrentRow(RowNumber)
???????? DataTable.SetCurrentRow(tb_i+1)
????DataTable.GetSheet("Action1"). SetCurrentRow(tb_i+1)
????'????????????????????в???????????????
?????????????GetCurrentRow?????Action1???У????????SetCurrentRow??????????Action????????£?
????CurrRow = DataTable.GetSheet("Action1").GetCurrentRow
????DataTable.GetSheet("Action2").SetCurrentRow(CurrRow)