I have this sequence of program ...
<div class="divCell ObsArabil"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Comments")%>' ID="lbleArabilComments" CssClass="Label SmallSize"> </asp:Label>
</div>
The result is some like this :
ex : 25.08.2008:TEST1 TEST2
how i obtain just TEST1 or TEST2
i try with DataBinder.Eval(Container.DataItem,"Comments").Substring(10,20) but don't work !
Thank you
<div class="divCell ObsArabil"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Comments")%>' ID="lbleArabilComments" CssClass="Label SmallSize"> </asp:Label>
</div>
The result is some like this :
ex : 25.08.2008:TEST1 TEST2
how i obtain just TEST1 or TEST2
i try with DataBinder.Eval(Container.DataItem,"Comments").Substring(10,20) but don't work !
Thank you