Bind data to asp.net controls like wpf datacontext binding
<p>Hi I was wondering if there is any way to bind my server side panel which contains multiple textboxes ,so my textboxes show associated bound fields which coming from data base automatically .
something like this:
in code behind:</p>

<pre><code>myPnl.DataSource=myContext.TableName;
</code></pre>

<p>in aspx page:</p>

<pre><code>&lt;asp:Panel runat="server" ID="myPnl"&gt;

&lt;asp:TextBox runat="server" Text='&lt;%# Bind("Title") %&gt;' ID="txtTitle" ReadOnly="true"&gt;
</code></pre>
