c# - appending a dataset to a session variable -


i know how add dataset session

dataset ds = getresults(); session["xyz "] = ds; 

is there way can append dataset session ?

i trying

  session["xyz"] = ds + ds1; //ds1 dataset  or  session["xyz"] = ds + (dataset)session["xyz"];  

it throws error .. there way ?

dataset objects have merge method

((dataset)session["xyz"]).merge(ds1) ; 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -