摘要: DECLARE @Str nVARCHAR(4000)SET @Str='select * from o_1023'exec (@Str)有时候sql并不是写死的,需要根据情况传入一些条件,或者值。可以用exec (@变量名)去执行。 阅读全文
posted @ 2011-03-26 14:59 nyth 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 再<head></head>里面加上:<meta http-equiv="pragma" content="no-cache" /><meta http-equiv="Cache-Control" content="no-cache,must-revalidate" /><meta http-equiv="Expires" content="0" />再cs页面加上:Response.Expires = -1; 阅读全文
posted @ 2011-03-26 13:43 nyth 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 转载http://blog.csdn.net/x4545/archive/2008/04/03/2246791.aspxwindow.showModalDialog的基本用法showModalDialog()(IE4+支持)showModelessDialog()(IE5+支持)window.showModalDialog()方法用来创建一个显示HTML内容的模态对话框。window.showModelessDialog()方法用来创建一个显示HTML内容的非模态对话框。使用方法:vReturnValue=window.showModalDialog(sURL[,vArguments][,sF 阅读全文
posted @ 2011-03-26 10:42 nyth 阅读(559) 评论(1) 推荐(1) 编辑