hello
i m useing gridview in asp.net and one column "Description" that have more data
n show all data in every column so my gridview is distrub
i want to show small amount of description in column and mouse hover show full data
how can i do......
pleas hellp ,me
i
How to manage the text
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


CrishRank #1,487 · 1.1K reputationPosted May 26, 2010, 2:48 AM EDT
use below code for your solution in query
case when LEN(Description) > 150 then substring(Description,0,148) + '...' Else Description End as Description
thanks
Don't forget to Mark Do you like this Answer that solved your problem!