该文被密码保护。 阅读全文
posted @ 2012-04-20 18:10 珍爱贝贝1314 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 将彻底屏蔽鼠标右键oncontextmenu="window.event.returnValue=false"<table border oncontextmenu=return(false)> <td>no </table> 可用于Table2. 取消选取、防止复制<body onselectstart="return false">3. 不准粘贴onpaste="return false"4. 防止复制oncopy="return false;" oncut 阅读全文
posted @ 2012-04-20 18:09 珍爱贝贝1314 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 1.如何使一个弹出窗口最大化?<script>self.moveTo(0,0)self.resizeTo(screen.availwidath,screen.availHeight)</script>2.怎样用图片来关闭窗口?<a href="javasoript:window.colse()"><imgheight=20 width=20 alt=" "src="close.gif"border=0></a>3.怎样禁止通过鼠标右键查看网页源代码?<scritp la 阅读全文
posted @ 2012-04-20 18:08 珍爱贝贝1314 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 四种网页间跳转的方式1、超链2、Response.Redirect3、Server.Transfer4、PostBackUrlhttp://localhost:2035/DataReceive.aspx?name=zhen&password=密码创建页面 - DataSend.aspx 添加超链接 链接地址:~/DataReceive.aspx?name=zhen&password=密码<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat=" 阅读全文
posted @ 2012-04-20 18:03 珍爱贝贝1314 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 装数据库后,添加Northwind 库 course新建查询-打开:E:\一\c#练习\2012.3.30\Database-createdatabase 后,改变路径E:\一\c#练习\2012.3.30\Database,执行-------------------------------------------------------------IF EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = 'course')DROP DATABASE course;GOCREATE DATABASE cou 阅读全文
posted @ 2012-04-20 18:01 珍爱贝贝1314 阅读(147) 评论(0) 推荐(0) 编辑
摘要: <div.min>Style background-position: center center; background-image: url('/image/漂流.jpg')---------------------------------------------------------------------------添加Web窗体应用程序 DropDownListDemo.aspxDropDownList<asp:DropDownList ID="DropDownList1" runat="server" Au 阅读全文
posted @ 2012-04-20 17:58 珍爱贝贝1314 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 网站导航-创建网站地图解决方案资源管理器 - 右击网站的名称 - 单击 “添加新项” - 对话框中在 “Visual Studio 已安装的模板”- 单击 “网站地图”- 名称为 “Web.sitemap”Web.sitemap<?xml version="1.0" encoding="utf-8"?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"><siteMapNode url="~/Default. 阅读全文
posted @ 2012-04-20 17:57 珍爱贝贝1314 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 新建带母版页 CookieAndSession.aspx添加控件:<asp:Literal ID="ltlCookie" runat="server"/><asp:Button runat="server" ID="btnCookie"/><br /><asp:Literal ID="ltlSession" runat="server"/><asp:Button runat="server" ID=&q 阅读全文
posted @ 2012-04-20 17:52 珍爱贝贝1314 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 在CookieDemo.aspx.cs中protected void btnCookie_Click() { if(Request.Cookies["BirthdayMonth"] == null) {//using System.Globalization; cookie = new HttpCookie("birthdayMonth",DateTime.Now.Month.ToString(CultureInfo.InvariantCulture)); Response.AppendCookie(cookie); }---protected void 阅读全文
posted @ 2012-04-20 17:51 珍爱贝贝1314 阅读(128) 评论(0) 推荐(0) 编辑
摘要: <html><head><title>职业规划</title></head><body bgcolor="#33FF99"><pre> Career Palanning 职业规划 What is career planning?Career planning is a lifelong process, which includes choosing an occupation ,getting a job,growing in our job,possibly chan ging care 阅读全文
posted @ 2012-04-20 17:49 珍爱贝贝1314 阅读(304) 评论(0) 推荐(0) 编辑