摘要: 阅读全文
posted @ 2018-08-24 22:20 黑旗君 阅读(224) 评论(0) 推荐(0)
摘要: <form id="form1" name="form1" method="post" action=""> <select name="select" id="select" onchange="window.location=this.value;"> <option value="http:/ 阅读全文
posted @ 2018-08-23 22:57 黑旗君 阅读(380) 评论(0) 推荐(0)
摘要: <style>*{margin:0; padding:0;}form{background:#F1F1F1;}.bbg{background:url(../images/add_ico.jpg) no-repeat; height:65px;}.fileInput{cursor:pointer;op 阅读全文
posted @ 2018-07-31 14:28 黑旗君 阅读(270) 评论(0) 推荐(0)
摘要: <html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <head runat="server"> <meta http-equiv=" 阅读全文
posted @ 2018-07-30 20:15 黑旗君 阅读(270) 评论(0) 推荐(0)
摘要: 注://关闭,父窗口弹出对话框,子窗口直接关闭 this.Response.Write("<script language=javascript>window.close();</script>"); //关闭,父窗口和子窗口都不弹出对话框,直接关闭 this.Response.Write("<sc 阅读全文
posted @ 2018-07-29 11:41 黑旗君 阅读(18942) 评论(0) 推荐(0)
摘要: HTML5日期输入类型(date) 在很多页面和web应用中都有输入日期和时间的地方,最典型的是订飞机票,火车票,酒店,批萨等网站。 在HTML5之前,对于这样的页面需求,最常见的方案是用Javascript日期选择组件。这几乎是无可争议、别无选择的做法。你可以在搜寻一下“javascript 日期 阅读全文
posted @ 2018-07-29 09:21 黑旗君 阅读(1266) 评论(0) 推荐(0)
摘要: <style type="text/css">.box{width: 200px;height: 30px;background: #0000FF;color: #FFFFFF;margin: 0 auto;line-height: 30px;text-align: center;}body{tex 阅读全文
posted @ 2018-07-26 23:04 黑旗君 阅读(594) 评论(0) 推荐(0)
摘要: <!doctype html><html><head><style>html,body{margin:0px;padding:0px;background:#ffa;}</style><script>var g=function(o){return document.getElementById(o 阅读全文
posted @ 2018-07-11 09:19 黑旗君 阅读(580) 评论(0) 推荐(0)
摘要: 1、连接MYSQL数据库代码 <?php $connec=mysql_connect("localhost","root","root") or die("不能连接数据库服务器: ".mysql_error()); mysql_select_db("liuyanben",$connec) or di 阅读全文
posted @ 2018-07-11 08:35 黑旗君 阅读(12507) 评论(0) 推荐(0)
摘要: 孟洛川(1851—1939.9.7),名继笙,字雒川,亚圣第六十九代孙,山东省济南市章丘刁镇旧军人,著名商人,祖辈为地主兼商人。被誉为“一孟皆善”。瑞生祥创始人。 孟洛川的经营理念,所展示的为人之道、用人之道和经营之道,演绎着中国文化的内涵,以道家的大爱无疆、以儒家的仁德为核心;以君子爱财取之有道的 阅读全文
posted @ 2018-07-09 16:16 黑旗君 阅读(5945) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-07-09 10:05 黑旗君 阅读(217) 评论(0) 推荐(0)
摘要: --查找emp表:select * from emp;--查找emp表的sal:select a.SAL from emp a;--查找emp表的ename:select a.ename from emp a;--emp表的sal*10:select a.SAL*10 from emp a;--em 阅读全文
posted @ 2018-07-09 08:34 黑旗君 阅读(277) 评论(0) 推荐(0)
摘要: 一、IIS配置 1、 启动internet 信息服务(IIS)管理 2、在打开的IIS界面中打开“Internet 信息服务”,再打开“本地计算机”,再打开“网站”。选择“默认网站”的属性 2、 在弹出的“默认网站”的属性面板中选择“主目录”。并设置“本地路径”为网站的文件夹,和将下面的副选框全部打 阅读全文
posted @ 2018-07-08 10:11 黑旗君 阅读(1982) 评论(0) 推荐(0)
摘要: 正文12pt、数字小标题14pt加粗、数字大标题16pt加粗、中文小标题18pt加粗、中文大标题20pt加粗、章标题24pt加粗; C语言基础 一、为什么要使用 C语言? C 语言最初是用于系统开发工作,特别是组成操作系统的程序。由于 C 语言所产生的代码运行速度与汇编语言编写的代码运行速度几乎一样 阅读全文
posted @ 2018-07-08 10:09 黑旗君 阅读(319) 评论(0) 推荐(0)
摘要: 很多小伙伴因为学习或者工作的原因,经常需要到网上下载一些资料,其中用的最多的可能就是XX文库了。但大家知道文库里的文档有很多不是免费的,需要下载券才能下载。 你可能知道通过一下第三方软件(比如冰点下载器,需要的朋友也以私信小编索取软件)可以做到免费下载,但那样下载来的文件,都不是原格式的,可能只有P 阅读全文
posted @ 2018-06-20 17:11 黑旗君 阅读(930) 评论(0) 推荐(0)
摘要: Microsoft VBScript 编译器错误 错误 '' 缺少语句ActiveServerPages,ASP0126(0x80004005)-->找不到包含文件 MicrosoftOLEDBProviderforODBCDrivers(0x80040E21)-->sql语句出错(数据类型不匹配或 阅读全文
posted @ 2018-06-17 22:25 黑旗君 阅读(9021) 评论(0) 推荐(0)
摘要: <% dim FileNameFileName="Excel.xls" '取得文件名,来自项目经理的指定,路径固定在某个虚拟路径中Dim conn, rsset conn=CreateObject("ADODB.connection")conn.Open "Driver={Microsoft Exc 阅读全文
posted @ 2018-06-11 09:23 黑旗君 阅读(3275) 评论(0) 推荐(0)
摘要: <% Sub ExportToExcel Response.ContentType = "application/vnd.ms-Excel" Response.AddHeader "Content-Disposition", "attachment;Filename=Results.xls" Res 阅读全文
posted @ 2018-06-11 09:22 黑旗君 阅读(343) 评论(0) 推荐(0)
摘要: declare @idoc intdeclare @doc varchar(1000)--sample xml documentset @doc ='<root> <customer cid= "c1" name="janine" city="issaquah"> <order oid="o1" d 阅读全文
posted @ 2018-06-08 17:19 黑旗君 阅读(155) 评论(0) 推荐(0)
摘要: <script language="javascript">function checkall(form) { for (var i=0;i<form.elements.length;i++) { var e = form.elements[i]; if (e.name != "chkall"&&e 阅读全文
posted @ 2018-06-08 17:19 黑旗君 阅读(342) 评论(0) 推荐(0)
摘要: ******* 导出到excel exec master..xp_cmdshell 'bcp settledb.dbo.shanghu out c:\temp1.xls -c -q -s"gnetdata/gnetdata" -u"sa" -p""'/*********** 导入excel sele 阅读全文
posted @ 2018-06-08 17:18 黑旗君 阅读(276) 评论(0) 推荐(0)
摘要: set xlapp = server.createobject("excel .application")strsource=filepath & "test.xls"'打开一个已经存在的test.xls文件,filepath为物理绝对路径xlapp.workbooks.open(strsource 阅读全文
posted @ 2018-06-08 17:17 黑旗君 阅读(652) 评论(0) 推荐(0)
摘要: 文件aspprint.asp代码如下: <%@ language=vbscript %> <% option explicit dim strsubmit 'form中用来保存提交按钮的值 dim strprinterpath 'form中保存网络打印机路径的值 dim strusername 'f 阅读全文
posted @ 2018-06-08 17:16 黑旗君 阅读(509) 评论(0) 推荐(0)
摘要: 目录 一、 环境配置 二、 asp对excel 的基本操作 三、 asp操作excel 生成数据表 四、 asp操作excel 生成chart图 五、 服务器端excel 文件浏览、下载、删除方案 六、 附录正文 一、 环境配置 服务器端的环境配置从参考资料上看,微软系列的配置应该都行,即: 1.w 阅读全文
posted @ 2018-06-08 17:14 黑旗君 阅读(4884) 评论(0) 推荐(0)
摘要: 1.获得系统时间:<%=now()%>2.取得来访用的ip:<%=request.servervariables("remote_host")%>3.获得系统,浏览器版本:<script>window.document.write("版本:"+navigator.appname+navigator. 阅读全文
posted @ 2018-06-08 17:13 黑旗君 阅读(364) 评论(0) 推荐(0)
摘要: 一、asp的对象存取其他数据库 方法 在asp中,用来存取其他数据库 的对象统称ado(active data objects),主要含有三种对象: connection、recordset 、command connection:负责打开或连接数据 recordset:负责存取数据表 comman 阅读全文
posted @ 2018-06-08 17:12 黑旗君 阅读(250) 评论(0) 推荐(0)
摘要: <script language=javascript>var srcc = window.location; srcc = srcc.tostring()start = srcc.indexof("?"); end = srcc.length;</script> <script>alert(loc 阅读全文
posted @ 2018-06-08 17:09 黑旗君 阅读(140) 评论(0) 推荐(0)
摘要: <%yue=month(date())nian=year(date())thismon=nian&"-"&yue&"-1"nextmon=dateadd("m",1,thismon)tiancount=datediff("d",thismon,nextmon) '本月的天数 wek= weekday 阅读全文
posted @ 2018-06-08 14:56 黑旗君 阅读(539) 评论(0) 推荐(0)
摘要: 1.如何用asp判断你的网站的虚拟物理路径 答:使用mappath方法 < p align="center" >< font size="4" face="arial" >< b > the physical path to this virtual website is: < /b >< /fon 阅读全文
posted @ 2018-06-08 14:55 黑旗君 阅读(335) 评论(0) 推荐(0)
摘要: 1。忽视右键 <body oncontextmenu="return false"> 或 <body style="overflow-y:hidden"> 2。加入背景音乐 ie:<bgsound src="*.mid" loop=infinite> ns:<embed src="*.mid" au 阅读全文
posted @ 2018-06-08 14:54 黑旗君 阅读(8453) 评论(0) 推荐(0)
摘要: oncontextmenu="window.event.returnvalue=false" 将彻底屏蔽鼠标右键<table border oncontextmenu=return(false)><td>no</table> 可用于table 2. <body onselectstart="retu 阅读全文
posted @ 2018-06-08 14:52 黑旗君 阅读(490) 评论(0) 推荐(0)
摘要: <% set rss=server.createobject("adodb.recordset") ssql="select * from [dormitory] left join [allot] on allot.r_id=dormitory.r_id and dormitory.build=a 阅读全文
posted @ 2018-06-08 12:00 黑旗君 阅读(214) 评论(0) 推荐(0)
摘要: <% squery=lcase(Request.ServerVariables("QUERY_STRING")) sURL=lcase(Request.ServerVariables("HTTP_HOST")) SQL_injdata =":|;|>|<|--|sp_|xp_|\|dir|cmd|^ 阅读全文
posted @ 2018-06-08 11:59 黑旗君 阅读(265) 评论(0) 推荐(0)
摘要: <% Dim Fy_Post,Fy_Get,Fy_cook,Fy_In,Fy_Inf,Fy_Xh,Fy_db,Fy_dbstr,aa On Error Resume Next Fy_In = "'|exec|insert|select|delete|update|count|chr|truncate 阅读全文
posted @ 2018-06-08 11:58 黑旗君 阅读(3823) 评论(0) 推荐(0)
摘要: <%'定义一个nextrs函数来找出下一篇的IDfunction nrsnrs=server.CreateObject("adodb.recordset")sql="select * from articles where id>"&a1&" order by id"set nrs=conn.exe 阅读全文
posted @ 2018-06-08 11:55 黑旗君 阅读(304) 评论(0) 推荐(0)
摘要: <%set rs=server.CreateObject("adodb.recordset")sql="select * from [student_admin] order by id DESC"rs.open sql,conn,1,3%><%rs.pagesize=15'这个是显示最新的8条记录 阅读全文
posted @ 2018-06-08 11:41 黑旗君 阅读(499) 评论(0) 推荐(0)
摘要: <%set rs=server.createobject("adodb.recordset")sql="select * from [img] order by id DESC"rs.open sql,conn,1,3%><%rs.pagesize=10pagecount=rs.pagecountp 阅读全文
posted @ 2018-06-08 11:34 黑旗君 阅读(263) 评论(0) 推荐(0)
摘要: <% if session("mm_username")="" Then Response.Write "<script>window.confirm('登陆超时!');parent.window.history.go(-1);location='login.asp'</script>" end i 阅读全文
posted @ 2018-06-08 11:32 黑旗君 阅读(471) 评论(0) 推荐(0)
摘要: <% if trim(request("action"))="add" then if request.form("cn_name1")=Empty or request.Form("pwd")=Empty or request.Form("pwd2")=Empty or request.Form( 阅读全文
posted @ 2018-06-08 11:30 黑旗君 阅读(310) 评论(0) 推荐(0)
摘要: <% Session("mm_username")="" Response.Cookies("mm_username")="" response.write"<script>alert('成功退出系统!');location='index.asp'</script>" %> 阅读全文
posted @ 2018-06-08 11:29 黑旗君 阅读(216) 评论(0) 推荐(0)