Hi Abhradeep!
I think that the most preferable way in your case would be to create temporary table on DB side, store your table data in that table and than call stored procedure which will read the data from that table and remove it after reading.
Regards, Evgeniy.