ASP.Net aspx properties persisted
<p>What would be the best practice to persist property values of an aspx-page?</p>

<p>I have done the following, is there some neater way?</p>

<pre><code>    public string DataTable
    {
        get
        {
            return _DataTable;
        }
        set
        {
            _DataTable = value;
            ViewState["DataTable"] = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DataTable = Request["dataTable"].ToString();
        }
        else
        {
            DataTable = ViewState["DataTable"].ToString();
        }
    }
</code></pre>
