my DataList control does not display data
<p>I am having a problem with DataList control on my website. I run the debugger, and every thing works fine. However, the browser does not show any data(no error). In my design mode, I just create datalist. On this page, I am not using information from a database. Everything is in my InitializedData class. Please let me know if I do any thing wrong. Thank you.</p>

<pre><code> protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        List&lt;Title&gt; list = InitializedData.getItem();
        DataSet ds = new DataSet();
        DataTable dt = new DataTable();
        dt.Columns.Add("Title");
        dt.Columns.Add("Edition");            
        dt.Columns.Add("Price");
        ds.Tables.Add(dt);


        foreach (Title t in list)
        {
            DataRow dataRow = ds.Tables[0].NewRow();
            dataRow["Title"] = t.BookTitle;
            dataRow["Edition"] = t.EditionNumber;
            dataRow["Price"] = t.Price;
            dt.Rows.Add(dataRow);
        }
        DataList1.DataSource = ds;
        DataList1.DataBind();
    }
}
</code></pre>
