随笔分类 -  技术

技术
摘要:--查询哪些表被死锁 select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' --查询后会返回一个包含spid和tableName列的表. --其中spid是进程名,tableNam... 阅读全文
posted @ 2017-09-21 10:28 尚公子 阅读(1293) 评论(0) 推荐(0)
摘要:public string TextNoHTML(string Htmlstring) { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"", "", RegexOptions.IgnoreCase); //删除HTML Htmlstring = Regex.Replace(Htmlstring, @"... 阅读全文
posted @ 2017-02-22 14:48 尚公子 阅读(3006) 评论(2) 推荐(0)