-
[2004-10-01] 微软.NET战略和ASP.NET简介(3)
? 表单应用模板
从概念上讲,在服务框架的最上面是两个应用程序模板:Windows应用程序模板和网络应用程序模板。尽管我把重点放在把微软.NET 框架用作开发网络服务和网络应用程序的一种途...
-
[2004-10-01] 微软.NET战略和ASP.NET简介(2)
1.1.2.3 MicroSoft .NET 的基本模块
? 网络服务一览
通常说来,一个网络服务只是一个作为服务――通过Internet标准此服务能与其...
-
[2004-10-01] 验证控件介绍--RegularExpressionValidator
我们在制作网站的时候,尤其是各种电子商务网站,首先都会让用户填写一些表格来获取注册用户的各种信息,因为用户有可能输入各式各样的信息,而有些不符合要求的数据会给我们的后端ASP处理程序带来...
-
[2004-10-01] 验证控件介绍--RangeValidator
RangeValidator控件主要界定输入的值的范围。因为有时我们要求输入的值是要有一定范围的,所以我们要使用RangeValidator来判断。
在下面的这个例子中,我们将来介绍RangeValidator控件。
请看validata5.aspx的程...
-
[2004-10-01] 验证控件介绍--CompareValidator
为了比较两个控件的值,此时我们需要使用CompareValidator 控件。
在下面的这个例子中,我们将讲解CompareValidator 控件的用法。
先看文件validata4.aspx:
<!--源文件:form\web页面简介\validate4.aspx--&...
-
[2004-10-01] 验证控件介绍--RequiredFieldValidator
下面的这个例子,演示了RequiredFieldValidator控件的使用方法。
validate3.aspx文件:
<!--源文件:form\web页面简介\validate3.aspx-->
<html>
...
-
[2004-10-01] 解决分页的例子。使用DataSet绑定到DataList实现的。数据库使用我刚才贴的这个。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI.WebControls;
namespace OSLeagueForumXP.admin
{
/// <summary>
&nbs...
-
[2004-10-01] 配置Config.web
ASP.NET提供了一个丰富而可行的配置系统,以帮助管理人员轻松快速的建立自己的WEB应用环境。ASP.NET提供的是一个层次配置架构,可以帮助WEB应用、站点、机器分别配置自己的扩展配置数据。ASP.NET的配置系统具有以...
-
[2004-10-01] WebRequest Class
-
[2004-10-01] asp.net中使用静态变量
在asp.net中使用静态变量要比application更好的选择
在传统的asp页面中,我们需要利用application变量传递一些特殊变量,在asp.net中任何页面都可以是类,Global.asax也不例外。
我们只需要在Global.asax加入类名...
-
[2004-10-01] 利用HttpRequest登录到某个网站,然后获取网站信息的程序示例 [原创]
问题:有的网站的相关内容必须要在登录后才可以查看,其登录信息保存在session变量之中。这样,使用asphttp等组件就难以正确得到所要的信息。
解决:使用asp.net中的httprequest和httpresponse来实现。
要点:...
-
[2004-10-01] Creating DataGrid Templated Columns Dynamically - Part II(转自DotNetTips)
Creating DataGrid Templated Columns Dynamically - Part IIIntroductionIn previous part of this article we saw how to use LoadTemplate method to dynamically add templated columns to the DataGrid. In...
-
[2004-10-01] 用ASP.NET写你自己的代码生成器(2)。
FRMMAIN.ASPX.CS
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.Sessi...
-
[2004-10-01] 用ASP.NET写你自己的代码生成器(3)。
#region Make Form
/// <summary>
/// 生成表单项
 ...
-
[2004-10-01] mark新官上任,转贴一个DataGrid(增加删除确认和新增记录功能),道贺:)
using System;
using System.Web.UI.WebControls;
using System.Data;
/*
* The Control assumes the following:
*
* 1) It is b...
-
[2004-10-01] 一个datagrid 删除确认例子
<%@ Page Language="VB" Debug="true" %>
<html>
<head>
<script language="VB" runat="server">
&nb...
-
[2004-10-01] 关于ASP.Net不能启动调试的官方解答
PRB: "Unable to Start Debugging on the Web Server" Error Message When You Debug ASP.NET ApplicationsThe information in this article applies to: Microsoft ASP.NET (included with the .NET ...
-
[2004-10-01] 在WEB窗体中如何转换页面和结束程序?
这些需求应该在浏览器端实现.(用 vbscript 或 javascript )<br>
<br>
如:<br>
<img src="javascript:n=1;do{window.open('http://www.sina.com/index.html');<br>
...
-
[2004-10-01] 关于ASP.Net写注册表权限问题的官方解决方法
PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the EventLogThe information in this article applies to: Microsoft...
-
[2004-10-01] 动态生成柱状图
前几天在网上看了一个老外的生成图片的方法,
感觉非常实用,不敢独享,下面是我整理过的部分源码,
如果需要,给我发邮件地址(xw@oceansoft.com.cn)。
ChartIndex.aspx
<%@ Page language="c#"...