摘要:
SELECT (case when a.colorder=1 then d.name else '' end)表名, d.name 表名1, a.colorder 字段序号, a.name 字段名, (case when COLUMNPROPERTY( a.id,a.name,'IsIdentity 阅读全文
阅读排行榜
格式化文本(防止SQL注入)
2020-07-02 19:32 by newbirth, 457 阅读, 收藏,
摘要:
/// <summary> /// 格式化文本(防止SQL注入) /// </summary> /// <param name="str"></param> /// <returns></returns> public static string Formatstr(string html) { S 阅读全文
浅析C#中ASP.NET页面的生存周期
2017-04-18 14:18 by newbirth, 437 阅读, 收藏,
摘要:
一般来说,页要经历下表概述的各个阶段。除了页生命周期阶段以外,在请求前后还存在应用程序阶段,但是这些阶段并不特定于页。 阶段 说明 页请求 页请求发生在页生命周期开始之前。用户请求页时,ASP.NET 将确定是否需要分析和编译页(从而开始页的生命周期),或者是否可以在不运行页的情况下发送页的缓存版本 阅读全文
使用存储过程生成数据库文档
2016-09-12 10:42 by newbirth, 399 阅读, 收藏,
摘要:
USE [MeiDongPay] GO /****** Object: StoredProcedure [dbo].[RenderTableDocument] Script Date: 09/12/2016 10:39:52 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ======================... 阅读全文
c# IE 清除缓存
2016-09-20 18:02 by newbirth, 387 阅读, 收藏,
摘要:
Response.Buffer = true; Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1); Response.Expires = 0; Response.CacheControl = "no-cache"; Response.Cache.Se... 阅读全文
浙公网安备 33010602011771号