Store session value in a datatable in C#
<p>I have created a session which store multiple value using Hashtable.</p>

<pre><code>string productCode = lblProductId.Text;
string mrp = lblPrice.Text;
string quantity = txtQuantity.Text;
Hashtable htPdt = new Hashtable();
htPdt.Add("pdtId", "" + productCode + "");
htPdt.Add("price", "" + mrp + "");
htPdt.Add("quantity", "" + quantity + "");
Session["bag101"] = htPdt;
</code></pre>

<p>Now I want to store this session data in a Datatable.
How can I do it?</p>

<p>I am using this code</p>

<pre><code>Datatable DtbBag101= (Datatable)Session["bag101"];
</code></pre>
