12 2012 档案

摘要:RT源码下载:WebTest.zip 阅读全文
posted @ 2012-12-13 11:52 黑冰.org 阅读(247) 评论(0) 推荐(0)
摘要:/* 生成流水号后面几位数字字符的相关函数 不足位数在左边用0填充 */ CREATE FUNCTION dbo.FillNumberZero ( --数值 @num int, --总位数 @len int ) RETURNS varchar(50) AS BEGIN --如果传入的流水号大于总的长度,那么直接返回流水号字符串格式 if(len(Convert(varchar(50),@num))>@len) return Convert(varchar(50),@num) ELSE BEGIN --需要填充0的位数 declare @NeedFillLen int set @... 阅读全文
posted @ 2012-12-13 10:24 黑冰.org 阅读(552) 评论(0) 推荐(0)
摘要:Response.Write的字节必须大于256 private void Write(string content) { content = content.Length <= 256 ? content.PadRight(300 - content.Length,'F') : content; Response.Write(content + "\r\n"); Response.Flush(); Response.Clear(); } 阅读全文
posted @ 2012-12-06 17:18 黑冰.org 阅读(1218) 评论(0) 推荐(0)