What data type to use?
Posted on 2006-05-07
I`m trying to think for a nice way to handle my problem, but have come up with nothing.
I have a table of web pages users have viewed. This table has two colomns UsrID and PageURL. I want to select UsrID and PageURL of all users that answer a certain criteria. Up till here everything is easy.
My problem is that I need to pass this data to unmanaged c++ code and I can`t think of a data type that will do this nicly.
The only thing I have been able to come up with is creating an array of strings, with each string holding a comma seperated list of all visited web pages for a single user.
This is a very ugly way to do it, but I can`t think of anything nicer.
Hope maybe someone here can help.
Thank you in advance for any help you can supply.