05-17-2011, 03:14 AM
Writing the output from the application . Need to write the output under 3 column names DDA , Bank ID and Available Balance in the datatable(Bal_DDA).
Code:
Actual Output :
DDA BanklD Avail_Bal DDA1 BanklD1 Avail_Bal1
44357 182 300 41210 182 0
Expected Output:
DDA BanklD Avail_Bal
44357 182 300
41210 182 0
Code:
Code:
n=DataTable.GetSheet ("Bal_DDA").AddParameter("DDA",DDA)
o=DataTable.GetSheet ("Bal_DDA").AddParameter("BanklD",BankID)
m=DataTable.Getsheet ("Bal_DDA").AddParameter ("Avail_Bal",Avail_bal)
DDA BanklD Avail_Bal DDA1 BanklD1 Avail_Bal1
44357 182 300 41210 182 0
Expected Output:
DDA BanklD Avail_Bal
44357 182 300
41210 182 0