上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
通常有必要了解调用 ASP.NET 网页的方式:是由原始请求 (HTTP GET)、回发 (HTTP POST)、来自其他页的跨页发送 (HTTP POST) 调用的,还是由来自其他页(使用 Transfer 方法或使用浏览器中的回调)的传送调用的。Page 类公开可用于确定页调用方式的属性集。 确定调用 ASP.NET 网页的方式 检查以下 Page 类属性的值,然后参照下表来确定页的调用方式:... Read More
posted @ 2008-11-15 19:25 liangwei389 Views(203) Comments(0) Diggs(0) Edit
以前总是用配置文件以外的xml来进行附加的应用程序配置设置,近期发现原来C#中已提供了相应的方法,不由得又一次强烈鄙视自己的无知.本例为vs2003版本,vs2005中个别方法可能已过期, 不过整体模式相同. 一,修改配置文件(web.config或App.config)内容 二,配置解析类定义 public class ConfigHandler:Sy... Read More
posted @ 2008-11-14 10:47 liangwei389 Views(293) Comments(0) Diggs(0) Edit
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private static char[] constant = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', ... Read More
posted @ 2008-11-13 18:13 liangwei389 Views(310) Comments(0) Diggs(0) Edit
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->USE [Shenyi]GO/****** 对象: StoredProcedure [dbo].[UP_PageList] 脚本日期: 11/13/2008 17:52:57 *****... Read More
posted @ 2008-11-13 18:09 liangwei389 Views(233) Comments(0) Diggs(0) Edit
特殊符号 十六进制值 + 转义符为 %2B 空格 转义符为 + 或 %20 / 转义符为 %2F ? 转义符为 %3F % 转义符为 %25 # 转义符为 %23 & 转义符为 %26 = 转义符为 %3D 转自:http://blog.csdn.net/sunyujia/archive/2008/03/22/2205364.aspx Read More
posted @ 2008-11-10 10:49 liangwei389 Views(2602) Comments(0) Diggs(0) Edit
一,最简单的就是同一个网页里的表单的数据传递。 举个实例,一个网页上有两个表单,每个表单里一个文本框,一个按钮。点按钮互相对操作对方的文本框的值。我们举的例子是把一个文本框付给另一个文本框。具体的HTML代码如下: Untitled Document 以上为HTMl的代码,大家可能注意到了onclik的代码了,有两个函数,接下来就... Read More
posted @ 2008-11-10 10:04 liangwei389 Views(1260) Comments(0) Diggs(0) Edit
关于在java环境下调用 .net的 webservice无法获取参数的问题, 在我的项目中遇到这种情况的解决方案是 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Web;usin... Read More
posted @ 2008-11-07 15:36 liangwei389 Views(496) Comments(0) Diggs(0) Edit
在嵌入iframe的页面中: 程序代码 在该iframe被嵌入的页面中: 程序代码 转自:http://hi.baidu.com/fanr520/blog/item/4a9ae7a414742ef19152ee4a.html Read More
posted @ 2008-11-02 21:22 liangwei389 Views(361) Comments(1) Diggs(0) Edit
页面标题 后台CS代码 protected void Button1_ServerClick(object sender, EventArgs e) { 执行相关的操作 //Response.Write(""); //Response.Write(""); JScript.ExecuteClien... Read More
posted @ 2008-11-02 02:03 liangwei389 Views(2172) Comments(0) Diggs(0) Edit
DataSet 对象是支持 ADO.NET的断开式、分布式数据方案的核心对象 ,用途非常广泛.我们很多时候需要使用其中的数据,比如取得一个DataTable的数据或者复制另一个DataTabe中的数据或者是DataRow的 数据,但是只有DataSet和DataTable的复制是支持深层复制的,就是说不仅能复制元素的结构,而且能复制元素的数据,而 DatatDataRow没有相关的复制的方法,下面... Read More
posted @ 2008-10-27 16:47 liangwei389 Views(804) Comments(0) Diggs(0) Edit
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页