The idea is as follows:
Determine the columns to be monitored. When more than one limit value is exceeded, the corresponding operation can be taken. For example, when the value of the field bookid is 123456789, to limit the length of characters,
It can be displayed as 12345 ...... when you move the mouse over the field, all values are displayed as 123456789
The method is as follows:
1 <itemtemplate>
2 <asp: Label runat = "server" text = '<% # eval ("bookid"). tostring (). length> 5? Eval ("bookid "). tostring (). substring (0, 5) + "": eval ("bookid") %> 'tooltip = '<% # eval ("bookid") %>'
3 id = "label1"> </ASP: Label>
4 </itemtemplate> and aboveCodeLimit the number of font strings to 5
5 <% # eval ("bookid"). tostring (). length> 5? Eval ("bookid"). tostring (). substring (0, 5) + "": eval ("bookid") %>'
When you place the cursor over the field, all values are displayed. tooltip = '<% # eval ("bookid") %>'