Eval("spr").ToString().IndexOf(HttpUtility.UrlDecode(Request.Cookies["UserName"].Value))>-1 //spr字段是否有当前用户名
c# 字符串 中查找字符,判断是否包含字符串
原文:http://zhaoyingyatou.blog.51cto.com/7151735/1860953