Access ViewState from Static method in aspx page
<p>suppose i have one static method and i need to access viewstate from that method...how could i do so...i know it is not possible but there must be some way out.</p>

<pre><code> [WebMethod]
 public static string GetData(int CustomerID)
 {
     string outputToReturn = "";
     ViewState["MyVal"]="Hello";
     return outputToReturn;
 }
</code></pre>
