' Import Data Sheet
DataTable.Import "C:/perldbtesting.xls"
rCount = DataTable.GetRowCount
msgbox rCount
For i=1 to rCount Step 1
DataTable.SetCurrentRow(i)
sno = DataTable.Value("sno",dtGlobalSheet)
name_ = DataTable.Value("name",dtGlobalSheet)
msgbox sno
msgbox name_
Next
DataTable.DeleteSheet "Action1"
DataTable.AddSheet("newsheet").AddParameter "newParam","Added new sheet & and then added new column param and value is filled"
oldVal = DataTable.Value ("newParam","newsheet")
msgbox oldVal
Sunday, November 21, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment