Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DataTable
#1
Solved: 11 Years, 4 Months 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: 11 Years, 4 Months 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: 11 Years, 4 Months 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,635 06-14-2012, 04:53 PM
Last Post: Arul

Forum Jump:


Users browsing this thread: 1 Guest(s)