store user defined class objects
-
please provide some code or explanation how to store user defined class objects using c#.net. actually i have one class and want to store its objects in my web application. please help me for that. so what to use cache,view state or session object and how to do it?
-
please provide some code or explanation how to store user defined class objects using c#.net. actually i have one class and want to store its objects in my web application. please help me for that. so what to use cache,view state or session object and how to do it?
You obviously know the differnt ways to store objects, surely you're then able to find out how to do it ? viewstate is no good because it doesn't transfer between pages, and it requires sending your objects to the client, which is a security issue, and a bandwidth issue. So, it really depends on what the objects are, but I believe for both the session and viewstate, they need to be serialisable.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )