Can anyone tell me how to substring a GridView BoundField object please?
I tried this so far and it hasn’t worked. Thank you.
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# ChopString((string)Eval("description")) %>'></asp:Label>
</ItemTemplate>
You need to use substring.
I believe thats all you need.