ok I have data correctly loading into a datalist but I want to set the maximum length that can be displayed to 20 chars. How can I do that. I am calling the DataBind method in the code behind. I tried the 3rd param but it did nothing.
Thanks
Code:<%# DataBinder.Eval(Container.DataItem, "AnnouncementTitle", "{0:5}") %>




Reply With Quote