上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 75 下一页
摘要: class: // created by kitty 2007-8-2 //上傳文件 public static string UploadFile(byte[] fs, string FileName, string receive) { //如果不存在路徑,則新增文件 if (!(Directory.Exists(receive))) ... 阅读全文
posted @ 2007-08-30 17:37 Nina 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 在服务里关闭iis admin service服务会提示World Wide Web Publishing ServiceHTTP SSL这两个也会停止。改完后需要手动启动这两个服务!找到windows\system32\inesrv\下的metabase.xml编辑其中的ASPMaxRequestEntityAllowed 把他修改为需要的值,默认为204800,即200K 改成你需要的值。这里... 阅读全文
posted @ 2007-08-30 13:50 Nina 阅读(271) 评论(0) 推荐(0) 编辑
摘要: P.NET页面间传值方式 方式1: 在接收页 的html代码里加上一行: WebForm1 fp=(WebForm1)Context.Handler; this.TextBox1.Text=fp.name; //name 是第一页的public变量 Context 提供对整个当前上下文(包括请求对象)的访问。您可以使用此类共享页之间... 阅读全文
posted @ 2007-07-31 09:50 Nina 阅读(1746) 评论(3) 推荐(0) 编辑
摘要: 我们在用网页地址栏传汉字时经常出现错误,可以在要传值的地方加入: Server.URLEncode(传的值)就行了。 阅读全文
posted @ 2007-07-31 09:13 Nina 阅读(692) 评论(1) 推荐(0) 编辑
摘要: 也许是我大惊小怪,我现在才发现 hyperlink的target属性可以这么用大家可以看一下asp.net 的 ASP.NET Articles -- Updated Daily! ,点击链接在新窗口中打开某一篇文章,不要关闭打开的新窗口,点击另外一篇文章的链接,可以发现新的链接不会打开新的窗口,而是在先前打开的窗口中加载,这样我们就可以防止打开过多的新的窗口。好奇,看了一下源代码,没有什么特别,... 阅读全文
posted @ 2007-07-27 14:23 Nina 阅读(845) 评论(0) 推荐(1) 编辑
摘要: create table t(company varchar(30),goods varchar(30),value int) insert into t select 'compal','compute',500 union all select 'compal','CPU',400 union all select 'compal','mouse',200 union all selec... 阅读全文
posted @ 2007-07-26 14:04 Nina 阅读(494) 评论(1) 推荐(0) 编辑
摘要: http://blog.blueshop.com.tw/uni2tw/archive/2006/12/12/47151.aspxhttp://forums.microsoft.com/MSDN-CHT/Search/Search.aspx?words=%E5%A4%9A%E5%9C%8B%E8%AA%9E%E8%A8%80&searchKey=&lcid=1028&searchscope=allf... 阅读全文
posted @ 2007-07-18 12:32 Nina 阅读(847) 评论(0) 推荐(0) 编辑
摘要: javascript: function ChangeToBig(value) { var intFen,i; var strArr,strCheck,strFen,strDW,strNum,strBig,strNow; if(trim(value)=="") //数据为空时返回"零" return "零"; ... 阅读全文
posted @ 2007-07-06 10:43 Nina 阅读(1538) 评论(1) 推荐(0) 编辑
摘要: 金额大小写转换-vb ' 本模块生成汉字大写的金额 ' Option Explicit ' 名称: CCh ' 得到一位数字 N1 的汉字大写 ' 0 返回 "" Private Function CCh()Function CCh(N1) ... 阅读全文
posted @ 2007-07-06 10:34 Nina 阅读(1584) 评论(0) 推荐(0) 编辑
摘要: 这里是判断YYYY-MM-DD这种格式的,基本上把闰年和2月等的情况都考虑进去了,不过我已经忘了在哪里找到的。^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9... 阅读全文
posted @ 2007-06-26 11:36 Nina 阅读(2424) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 75 下一页