Detailsview does not display
<p>I have a master -detail view . In the girdview i have a button </p>

<pre><code>&lt;asp:LinkButton ID="btnViewDetails" runat="server" text="Edit" CommandName="Select" CommandArgument='&lt;%# Eval("BoundFieldId") %&gt;'&gt;&lt;/asp:LinkButton&gt;
</code></pre>

<p>Now in the RowCommand., I did</p>

<pre><code> DetailsView1.ChangeMode(DetailsViewMode.Edit);
    if (e.CommandName.Equals("Select"))
        {
            var value = Convert.ToInt32(e.CommandArgument);
            using (var dataContext = new xxxDataContext(Config.xxxConnectionString))
            {
                var dataList = (from t in dataContext.tableName
                                where te.Id == Convert.ToInt32(value)
                                select t).ToList();
                DetailsView1.DataSource = dataList;
                DetailsView1.DataBind();

            }
</code></pre>

<p>But i cant see my Details view and it doesnt bind I guess.Why ???? I was trying since like 2 days ., posted many times help me please</p>
