07 2007 档案
摘要:P.NET页面间传值方式 方式1: 在接收页 的html代码里加上一行: WebForm1 fp=(WebForm1)Context.Handler; this.TextBox1.Text=fp.name; //name 是第一页的public变量 Context 提供对整个当前上下文(包括请求对象)的访问。您可以使用此类共享页之间...
阅读全文
摘要:我们在用网页地址栏传汉字时经常出现错误,可以在要传值的地方加入: Server.URLEncode(传的值)就行了。
阅读全文
摘要:也许是我大惊小怪,我现在才发现 hyperlink的target属性可以这么用大家可以看一下asp.net 的 ASP.NET Articles -- Updated Daily! ,点击链接在新窗口中打开某一篇文章,不要关闭打开的新窗口,点击另外一篇文章的链接,可以发现新的链接不会打开新的窗口,而是在先前打开的窗口中加载,这样我们就可以防止打开过多的新的窗口。好奇,看了一下源代码,没有什么特别,...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:javascript: function ChangeToBig(value) { var intFen,i; var strArr,strCheck,strFen,strDW,strNum,strBig,strNow; if(trim(value)=="") //数据为空时返回"零" return "零"; ...
阅读全文
摘要:金额大小写转换-vb ' 本模块生成汉字大写的金额 ' Option Explicit ' 名称: CCh ' 得到一位数字 N1 的汉字大写 ' 0 返回 "" Private Function CCh()Function CCh(N1) ...
阅读全文