12 2009 档案

摘要:大家好,已有四个多月没写东东啦。今日抽空就说一下 Session 在 .Net v1.0/v1.1 中的存储模式。大家可在 MSDN 2003 中搜索一下 <sessionState> 即可看到关于 Web.config 中的<sessionState> 节点元素的描述,共有 Off、InProc、StateServer、SQLServer 四种模式。Off、InProc ... 阅读全文
posted @ 2009-12-24 17:25 不必太用力 阅读(255) 评论(0) 推荐(0) 编辑
摘要:7.2 版本控制工具VSS在开发过程,为了控制开发错误以及不同时期代码的管理,通常使用版本控制工具。本小节主要介绍Microsoft提供的版本控制工具VSS(Visual SourceSafe)。VSS可以详细记录源代码从开发到发布期间所有的修改和版本信息,并使用签入签出控制一个代码文件一次只能由一个程序员修改,这就保证了源代码的安全性和准确性。本例使用Microsoft提供的最新版本VSS200... 阅读全文
posted @ 2009-12-21 17:37 不必太用力 阅读(3522) 评论(0) 推荐(1) 编辑
摘要:method="get",表单在提交时,填写在表单中的数据会和action="url"中的url编码在一起。 method="post",表单在提交时,填写在表单中的数据将在底层发送到action="url"中的url去。 两者的区别在于,method="get"时,数据传输是可见的;method="post"时,数据传输是不可见的。 notes的代理一般用的post方法,在domino端有一个接... 阅读全文
posted @ 2009-12-21 17:35 不必太用力 阅读(502) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----处理表重复记录(查询和删除)/***********************************************************************************... 阅读全文
posted @ 2009-12-16 09:21 不必太用力 阅读(247) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----合并分拆表/********************************************************************************************... 阅读全文
posted @ 2009-12-16 09:19 不必太用力 阅读(449) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----行列互转/*********************************************************************************************... 阅读全文
posted @ 2009-12-16 09:18 不必太用力 阅读(136) 评论(0) 推荐(0) 编辑
摘要:private void BindFigureSort() { String sql = "SELECT [SortId],[SortName] FROM [dbo].[CV_FigureSort]"; DataSet ds = SqlHelper.ExecuteDataset(WebConfig.ConnStrWWW, CommandType.Text, sql); ddlFigureSort.... 阅读全文
posted @ 2009-12-15 14:57 不必太用力 阅读(628) 评论(0) 推荐(0) 编辑
摘要:1.Response.Redirect("XXX.aspx",true)——直接转向新的页面,原窗口被代替;2. Response.Write("<script>window.open(XXX.aspx'',''_blank'')</script>")——原窗口保留,另外新增一个新页面;3.Response.Write("&l... 阅读全文
posted @ 2009-12-15 14:55 不必太用力 阅读(347) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<scripttype="text/javascript">2functionCharMode(iN){3if(iN>=48&&iN<=57)4return1... 阅读全文
posted @ 2009-12-15 14:51 不必太用力 阅读(154) 评论(0) 推荐(0) 编辑
摘要:在ASP.NET 2.0中使用ASP.NET AJAX所提供的功能之前,需要对其进行必要的配置。ASP.NET AJAX的配置可分为两种情况:一种是从头开始,创建新的应用ASP.NET AJAX的应用程序;另一种是在现有的ASP.NET 2.0应用程序中使用ASP.NET AJAX进行扩展。对于前一种情况,我们可以使用ASP.NET AJAX安装中自带的Visual Studio项目模板,帮助我们... 阅读全文
posted @ 2009-12-15 14:39 不必太用力 阅读(194) 评论(0) 推荐(0) 编辑
摘要:今天我做项目的时候遇到一个问题 pageMethed 未定义 经过查询资料 是因为在用ajax控件 <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true"> </asp:ScriptManager> 需要ajax 配置的 在我加上以后 在ajax 配置上很容易忽视细节 ... 阅读全文
posted @ 2009-12-15 14:37 不必太用力 阅读(295) 评论(0) 推荐(0) 编辑
摘要:<ul id="navcla"> <li style="border: 0"><a href="AboutOurs.aspx?id=1">关于我们</a></li> <li><a href="Coterie.aspx">同行入口</a></li> <li><a href="... 阅读全文
posted @ 2009-12-15 14:21 不必太用力 阅读(550) 评论(0) 推荐(0) 编辑
摘要:仿Google自动提示 SearchSuggess 页面:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti... 阅读全文
posted @ 2009-12-15 14:19 不必太用力 阅读(391) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示