.Net
文章平均质量分 65
pnf
这个作者很懒,什么都没留下…
展开
-
MultiView
———————————————————————————————————————————————— 前台aspx代码如下: @ Page Language="C#" AutoEventWireup="true" CodeFile="MultiViewDemo.aspx.cs" Inherits="MultiViewDemo" %> DOCTYPE html PUBLIC "原创 2013-08-29 15:10:17 · 585 阅读 · 0 评论 -
JS调用Webservice
操作步骤: 1.新建一个WebApplication项目,取默认设置。 2.添加一个WebService,代码如下: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 using System转载 2013-08-31 19:18:07 · 662 阅读 · 0 评论 -
JS调用PageMethods
操作步骤: 1。新建一个WebApplication项目,取默认设置。 2。双击设计界面,进入后天代码编辑界面,代码如下: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 using System; using Syste转载 2013-08-31 19:19:59 · 685 阅读 · 0 评论 -
防止二次提交 UseSubmitBehavior
function DisableButton(b) { b.disabled = true; b.value = 'Submitting'; }原创 2013-08-31 21:56:35 · 895 阅读 · 0 评论 -
Asp.net 页面/控件 生命周期
页面生命周期: 控件生命周期:原创 2013-12-17 16:31:44 · 523 阅读 · 0 评论 -
.net自定义控件Control、WebControl、CompositeControl
一、呈现方法 1、Control主要有以下4个方法用于呈现 //该方法为入口方法 public virtual void RenderControl (HtmlTextWriter writer) { this.RenderControl(writer,this.xxxAdapter); } protected void RenderControl(Ht原创 2013-12-30 16:31:25 · 943 阅读 · 0 评论 -
分页功能存储过程,Delphi 和 .NET应用
=============== SQL 中的存储过程 ==================== CREATE procedure splitPage @sqlstr nvarchar(4000), --查询字符串 @currentpage int, --第N页 @pagesize int --每页行数 as set nocount on declare @P1 int, --P1是游标转载 2014-05-18 11:49:00 · 621 阅读 · 0 评论