Welcome! Log In Create A New Profile

Advanced

Can I serialize collection of records

Posted by Prolay Sarkar 
Prolay Sarkar
Can I serialize collection of records
January 23, 2009 08:14AM
Hi,

I get multiple records in this query

ds is Data Source
table_object is Ctable1
HExecuteSqlQuery(ds,"Select * from table1 where id > '10' ")
HReadFirst(ds)
send_str is string=""
b is buffer
While NOT Hout(ds)
FileToMemory(table_object,ds)
str is string=Serialize(table_object,b,psdXML)
send_str+= str + "|"
HReadNext(ds)
END
RESULT str

Can this process be made easy so that i can send the complete data set and receive at the calling end as it is and this function is in a web-service.


Regards,
Prolay
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: