variable value becoming null

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

Hi,
I am working on a web service project. To start with i get the data frm
the web service and populate all the objects with the values received.
In the second step i display the data received on the browser.
In the third phase when i try to use the objects to post data to the
web service i notice that the objects dont have any value in them. why
is this happening.??
thanks
 
Jay,

How are you persisting the objects? Session variables? Database? Back and
forth with the page via hidden fields?

Kerry Moorman
 
I did a bit more research and the solution i came up with is that the
values are lost once the post back is done. Now I am trying to
implement ispostback so that i can get the original values for my
objects. Any clue on how that has to be done

thanks
Jay
 
Back
Top