title: how to pass table value to viewstate in asp.net
body: <p>I am taking few values like username, userfullname, userid, userlogin from databse. In current scene checking all this details in <code>page_load</code>, its hitting database several times. to avoid this want to get all these values at the same time and store them in viewstate to use it multiple times without hitting server for that session.
  How to pass table row values to the viewstate?
  using VS2010, coding in asp.net 3.5 with sql server 2008. </p>