随笔分类 -  ADO.NET

C#之模态窗口关闭
摘要:今天又遇到了模态窗口关闭的问题,具体问题是:在父页面打开了一个模态窗口,在模态窗口中添加一个asp的Button,按钮的单击事件写在服务器的.cs文件里,然后用如下代码关闭这个模态窗口: Response.Write("<script language=javascript>"); Response 阅读全文
posted @ 2017-05-26 14:37 NationWoo 阅读(497) 评论(0) 推荐(0)
发布ASP.NET应用程序时的10个好习惯(转)
摘要:【markcxz摘录】这是发布ASP.NET应用程序时值得注意的十点内容(个人归纳,排名不分先后),但愿能给你的开发带来些许助益。欢迎补充新的观点和项目。 In no particular order, here are the top ten things I've learned to pay attention to when dealing with production ASP.NET applications. Hopefully they will help you save you some time and headaches. As always, your tho 阅读全文
posted @ 2013-01-20 13:03 NationWoo 阅读(173) 评论(0) 推荐(0)
如何禁止用户直接对TextBox进行数据粘贴?(ASP.NET WEB开发)
摘要:<body onselectstart="return false" oncopy="return false" oncut="return false" onpaste="return false" oncontextmenu="return false" > onselectstart="return false" //禁止选取网页上的内容 oncopy="return false" //禁止拷贝 oncut="return fa 阅读全文
posted @ 2013-01-20 10:14 NationWoo 阅读(199) 评论(0) 推荐(0)