Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DataTable
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi,

I have fetched 2 values from oracle and stored in datatable. i need to pass that 2 variables to a web edit using comma.

eg:

orderxxx, orderyyy

Can you please help me to pass two variables to a single web edit??

Thanks in advance
Reply
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
get values from data table and make them into a single string.
Ex:
Code:
DataTable.SetCurrentRow(i)
a = DataTable.Value("Col ID","Sheet ID")
DataTable.SetCurrentRow(j)
b = DataTable.Value("Col ID","Sheet ID")

t = a&","&b 'If a and b both are string
If not,
t = CStr(a)&","&Cstr(b)
Reply
#3
Solved: 10 Years, 9 Months, 2 Weeks ago
Thanks this logic works..Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Datatable add and datatable import sheet wheelercha 4 33,365 06-14-2012, 04:53 PM
Last Post: Arul

Forum Jump:


Users browsing this thread: 1 Guest(s)