All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
SQL语句过滤字符_[SQL,Server教程]

Writer: 归海一刀 Article type: Programming skills(编程技巧) Time: 2014/2/1 0:17:10 Browse times: 412 Comment times: 0

SQL语句过滤字符_[SQL,Server教程]


Head photo

Go homepage
Upload pictures
Write articles

SQL语句过滤字符_[SQL Server教程] SELECT (case
WHEN LEN(NewsID) > 10 then LEFT(NewsID,8) + '...'
ELSE
NewsID
END
) AS NewsTitle
FROM YourTable
输出直接用<%# DataBinder.Eval(Container.DataItem,"NewsTitle")%>




There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.