How to use temporary table in enterprise protal user control development

Hi,

I want to use temporary table in user control of enterprise portal site.

for that i have created temporary table in aot->table node of dyanamics ax .then added that temparary table in dataset .

but when i select any record in grid of enterprise portal site i want to insert that selected record in that temporary table.

does any body know how to do that?

any help would be appreciated…

thanks,