Restrict the text length assigned for Link Button from DB
<p>I have some text being fetched from the DB, which I am binding to the DataList <code>ItemTemplate</code> in the following form:</p>

<p><code>&lt;asp:LinkButton runat="server" Text='&lt;%#Eval("url")%&gt;' /&gt;</code></p>

<p>The text that is fetched from the DB might be long and I want to restrict it to (let's say 50 chars at max. with a ... afterwards) in the above <code>eval</code> assignment.</p>

<p>How can this be done here?
Secondly, how do I specify the link here in <code>LinkButton</code> so that on clicking on it, it goes to the specified, the link should open in a new window as in <code>taget=_blank</code></p>
