title: How to bind a ListBox to a DataTable from a session object?
body: <p>I have a session object that contains a DataTable from my previous page, 
  and i would like to bind this DataTable to a ListBox.</p>
  
  <p>I'v done this:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      if (!IsPostBack)
      {
          if (Session["bestStocks"] !=null)
          {
              DataTable dt = new DataTable();
  
  
              dt = (DataTable)Session["bestStocks"];
  
              DataView dv = new DataView(dt);
              BestStockslb.DataSource = dt;
              BestStockslb.DataBind();
          }
       }
   }
  </code></pre>
  
  <p>I get this result:</p>
  
  <p><img src="https://i.stack.imgur.com/3gEJG.png" alt="enter image description here"> </p>
  
  <p>Any suggestion?</p>
  
  <p>thanks,
  liron</p>