上一页 1 ··· 7 8 9 10 11
  2014年10月29日
摘要: String转换为byte数组用byte[] arr = System.Text.Encoding.Default.GetBytes("abcde")byte数组转换为String用:string str = System.Text.Encoding.Default.GetString(arr); 阅读全文
posted @ 2014-10-29 11:36 苏上话 阅读(216) 评论(0) 推荐(0) 编辑
  2014年10月28日
摘要: 使用encodeURI编码内容 var Path = encodeURI("中文.xls"); url: "ashx/Data.ashx?Path =" + Path, 阅读全文
posted @ 2014-10-28 17:12 苏上话 阅读(255) 评论(0) 推荐(0) 编辑
  2014年10月24日
摘要: Js获取当前日期时间var myDate = new Date();myDate.getFullYear();//获取完整的年份(4位,1970-????) 2014myDate.getMonth();//获取当前月份(0-11,0代表1月) 9myDate.getDate();//获取当前日(1-... 阅读全文
posted @ 2014-10-24 17:48 苏上话 阅读(264) 评论(0) 推荐(0) 编辑
  2013年12月6日
摘要: 第一步 修改web,config <!--定义数据库连接--> <connectionStrings> <add name="NorthwindConnectionString" connectionString="Server=USERRYRDB;Database=Northwind;UID=sa 阅读全文
posted @ 2013-12-06 20:17 苏上话 阅读(416) 评论(0) 推荐(0) 编辑
  2013年10月25日
摘要: create function [dbo].[f_split] ( @c varchar(2000),--需要分割的字符串(例如:1,2,3,4,5 我|和|你) @split varchar(2)--分隔符(例如 , | $) ) returns @t table(col varchar(200))--返回表 as begin whil... 阅读全文
posted @ 2013-10-25 10:47 苏上话 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11