上一页 1 ··· 13 14 15 16 17
摘要: function Request(strName) { var strHref = window.document.location.href; var intPos = strHref.indexOf("?"); var strRight = strHref.substr(intPos + 1); var arrTmp = strRight.split("&"); for(var i = 0; i < arrTmp.length; i++) { var arrTemp = arrTmp[i].split("="); i 阅读全文
posted @ 2007-02-10 02:20 音乐啤酒 阅读(192) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Security.Cryptography;using System.Web;namespace DES{ class Des2 { const string KEY_64 = "VavicApp";//随便的8个字符串 密钥 const string IV_64 = "VavicApp";//随便的8个字符串 public Des2() { } public stati 阅读全文
posted @ 2007-01-05 20:35 音乐啤酒 阅读(157) 评论(0) 推荐(0)
摘要: 3.SQL SERVER 2005中的新分页CREATE PROCEDURE [dbo].[Zhzuo_GetItemsPage2005] @PageIndex INT, @PageSize INT, @RecordCount INT OUT, @PageCount INT OUTAS/*获取记录数*/SELECT @RecordCount = COUNT(*) FROM Production.Product/*计算页面数据*/SET @PageCount = CEILING(@RecordCount * 1.0 / @PageSize)/* 基于SQL SERVER 2005 */SELEC 阅读全文
posted @ 2006-12-11 20:04 音乐啤酒 阅读(159) 评论(0) 推荐(0)
摘要: create proc Pager@PageIndex int,@PageSize int,@PageCount int out,@RecordCount int outasselect @RecordCount= count(*) from film_typeset @PageCount = CEILING(@RecordCount * 1.0 / @PageSize)declare @topCount intSET @topCount = @RecordCount - @PageSize * @PageIndex DECLARE @SQLSTR NVARCHAR(1000) if @Pag 阅读全文
posted @ 2006-12-11 19:38 音乐啤酒 阅读(189) 评论(0) 推荐(0)
摘要: #region 记录用户在本页的xml文档 public void loadXmlDoc() { xmlDoc = new XmlDocument(); xmlDoc.Load(Server.MapPath(@"xmlfile/curUser.xml")); } public void checkNode() { //检查用户信息是否已经存在 XmlNode root=xmlDoc.DocumentElement; if (root.ChildNodes.Count == 0) { Page.Response.Write("<script>alert( 阅读全文
posted @ 2006-11-27 18:52 音乐啤酒 阅读(154) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2006-09-22 23:24 音乐啤酒 阅读(212) 评论(0) 推荐(0)
摘要: <img src="pic/2006-8-21000爱戴.jpg" class="drag" title="拖动图片" /><img src="pic/jpg-btn-deco.jpg" class="drag" /><div class="drag">AAAAAAAAAA</div><script language="JavaScript">var dragapproved=falsevar z 阅读全文
posted @ 2006-08-31 22:30 音乐啤酒 阅读(219) 评论(0) 推荐(0)
摘要: Process cmdProcess = null; Process unzipProcess = null; try { cmdProcess = new Process(); cmdProcess.StartInfo.UseShellExecute = false; cmdProcess.StartInfo.RedirectStandardInput = true; cmdProcess.StartInfo.RedirectStandardOutput = true; cmdProcess.StartInfo.RedirectStandardError = true; cmdProcess 阅读全文
posted @ 2006-08-26 18:50 音乐啤酒 阅读(271) 评论(0) 推荐(0)
摘要: vs2005 登陆控件,使用自己的数据库 刚开始使用vs2005,其中比2003多了很多让人眼花缭乱的控件,当然这些控件有很好的作用,减少了编码量。但是这么多控件也增加了学习的难度,比如登陆控件,和成员关系结合紧密,而且使用时自己建立一数据库,比较麻烦。 在网上看到一个英文文章,翻译一下大家一块看看,我水平一般啊,翻译可能不准确,尤其是对asp2.0不是很熟悉,大家多多指正 asp。net提供了内置的成员关系管理使用登陆和用户安全的web控件,下面是怎么使用他们的方法: iis的设置 1。在iis中找到你的web项目,点右键在属性中,把你的asp.net的版本设置为2.0,主要是担心原来的1. 阅读全文
posted @ 2006-08-11 20:04 音乐啤酒 阅读(194) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17