Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing to datatable- writing the rows in a single line
#2
Not Solved
Hi Malathy,

Refer the below example as per your requirement.

Code:
DataTable.GetSheet ("Bal_DDA").AddParameter "DDA",""
DataTable.GetSheet ("Bal_DDA").AddParameter "BanklD",""
DataTable.Getsheet ("Bal_DDA").AddParameter  "Avail_Bal",""

Datatable("DDA","Bal_DDA")=44357
Datatable("BanklD","Bal_DDA")=182
Datatable("Avail_Bal","Bal_DDA")=300

Datatable.GetSheet("Bal_DDA").SetCurrentRow(2)

Datatable("DDA","Bal_DDA")=41210
Datatable("BanklD","Bal_DDA")=182
Datatable("Avail_Bal","Bal_DDA")=0

Tip: it is better to maintain the test data in Datatable and use/pass the data from Datatable.
If you do so then we can make use of available Datatable Methods efficiently Smile
Reply


Messages In This Thread
RE: Writing to datatable- writing the rows in a single line - by sreekanth chilam - 05-17-2011, 12:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fifth word from every thousand line in notepad files. sallu.iet@gmail.com 0 944 01-17-2020, 09:58 AM
Last Post: sallu.iet@gmail.com
  Multiple rows of test data Bhuvana 0 1,341 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Grab multiple line data from log file haziqwebs 0 1,804 10-19-2016, 01:28 PM
Last Post: haziqwebs
  Writing to Run time data table Neetha 5 12,176 08-27-2015, 10:18 AM
Last Post: supputuri
  Adding data into rows that add dynamically with setcelldata azar81 4 5,951 04-13-2015, 05:24 PM
Last Post: vidya2k2

Forum Jump:


Users browsing this thread: 1 Guest(s)