1、label动态显示时间的问题?
要时间随时更新 完全跟系统时间同步,每秒都一秒一秒地走。
=========================================
2、Gridview模版中怎么限制表格内容
在Gridview模版中 怎么可以规定显示字符串的个数,
比如Gridview模版中 有个列是 content  
当在数据库查询出内容后 其有100个字符
我只想显示 10个 该怎么办。(要求:在数据源中限制。)
比如:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:connstring %>"
                        SelectCommand="SELECT [id], [title], [name], SUBSTRING([content],1,10), [ipaddress], [time] FROM [message] ORDER BY [id] DESC"></asp:SqlDataSource>
=======================================
请教高手给个正确的写法
SUBSTRING([content],1,10) 不知道该怎么改