上一页 1 ··· 9 10 11 12 13
摘要: 源代码完全公开,欢迎大家灌水!部分代码如下1. //Response.ContentType是输出流的 HTTP MIME 类型 //Response.ContentType --- word文件 //application/vnd.ms-excel --- excel文件 //更多格式请参考http://walleyekneel.iteye.com/blog/979524 HttpContext.Current.Response.Charset = "utf-8"; HttpContext.Current.Response.ContentEncoding = System 阅读全文
posted @ 2011-07-04 11:28 walleyekneel 阅读(1249) 评论(8) 推荐(1) 编辑
摘要: 父窗口的js代码: <script type="text/javascript"> function testalert() { var returnval = window.showModalDialog('default.aspx', 'example04','dialogWidth:400px;dialogHeight:300px;center:yes;help:yes;resizable:yes;status:yes'); alert(returnval); } </script>然后调用这个方 阅读全文
posted @ 2011-06-28 20:01 walleyekneel 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 1.配置文件部分节点 <connectionStrings> <add name="connstr" connectionString="dffsafds"/> </connectionStrings>获取string s = ConfigurationManager.ConnectionStrings["connstr"].ToString();2.配置文件部分节点<appSettings><add key="conn" value="~/App_D 阅读全文
posted @ 2011-06-28 12:04 walleyekneel 阅读(293) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13