05 2012 档案
摘要:前几天开发Web系统的时候,发现IE对模态窗口支持不怎么友好,在模态窗口中的提交事件会引发再一次打开原来的页面。后来在网上找了一下,好一点的解决方法都是用Iframe框架来完成的。但是如果要打开多个模态页面的话,就可能要多个Iframe的框架页面。比较郁闷,不过后来想的了一个更好点的方法,只要用一个模态页面就全部搞定,呵呵,所以列出了给有同样需要的人参考。第一:新建一个Iframe的框架页面VGAMesosphere.aspx。前台代码:myOpen.returnValue=1View Code <%@ Page Language="C#" AutoEventWire
阅读全文
摘要:string [] str=Request.Form.GetValues("str")
阅读全文
摘要:如果你用的是IE8的话,请修改注册表:HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main增加dword键TabProcGrowth,值为0就行!
阅读全文
摘要:The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.
阅读全文
摘要:View Code 1 select syscolumns.name AS ColumnName,systypes.name AS TypeName,syscolumns.length as length2 from syscolumns,sysobjects,systypes where syscolumns.id=sysobjects.id and syscolumns.xtype= systypes.xtype and sysobjects.name= '表名' order by syscolumns.colid1 select * from sys.all_column
阅读全文
摘要:javascript:document.write(document.body.innerHTML.replace(/</g, "<").replace(/>/g, ">")) 只是特殊字符转义下罢了
阅读全文
摘要:查了半天的资料,在一老外的网站上根据老外提示 终于解决了原文:Disable eventvalidation (bad idea, because you lose a little of security that come with very little cost).Use ASP.NET Ajax UpdatePanel. (Put the listbox in the Updatepanel and trigger a update, if you add or remove listbox. This way viewstate and related fields get upd
阅读全文
摘要:昨天在做批量修改的时候 犯了个错 小小的一个错误,浪费了1天时间 不小心把 using 丢到try catch 里 而却在catch里回滚事务至于编译的时候 没报错 这个 俺也不清楚 轻敌了 浪费1天的时间。。。。
阅读全文

浙公网安备 33010602011771号