Code Crafting Diaries
Crafting Code, Creating Wonders
Pages
Home
My Resume
My WordPress Blog
Sunday 26 June 2016
Bind some fix lenght string in GridView with Eval and Substring in asp.net.
<%#Eval(“News”).ToString().Length>=50?Eval(“News”).ToString().Substring(0,50):Eval(“News”).ToString() %>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment