Fork me on GitHub
摘要: <%# Eval("Answer").ToString().Length > 100 ? Eval("Answer").ToString().Substring(0, 100) + "..." : Eval("Answer").ToString()%> 阅读全文
posted @ 2013-05-02 14:16 思考的大腿 阅读(149) 评论(0) 推荐(0)
摘要: DataSet ds = wikibll.GetList(7, 1, string.Format(" isshow=1 and AskCountryid={0} ", countryid));AskCountryid在sqlserver2005中是nvarchar(50),但是查询条件中不用加单引号''吗?好神奇!!居然这样写是对的~ 阅读全文
posted @ 2013-05-02 13:56 思考的大腿 阅读(429) 评论(0) 推荐(0)