· 好了,至此,我们的webservice就完成了,大家可能不满了,还是没实现无刷新嘛,别急,这是客户端的事。下面我们就来做这项工作。
一般来说我们完全可以做一个HTML页面,而不用server page,但为了顺便说明怎样做组件,我决定作一个server control,先来看一下代码
using System;
using System.Web.U...
· 我们在传统的web程序当中比较头疼的一件事是屏幕的刷新感。虽然有server push的技术,但在IE中较难实现。现在webservice给了我们这样一个机会,大家都知道webservice是基于soap的,而soap是XML的应用,如果你曾经用过ms XML sdk3.0的话就会知道里面有个XMLhttp方法,其实在那时我们就已经可以用XML...
· ASP.NET offers a powerful way to render information from a database or XML file: Databinding. However, sometimes you need to be able to perform the databinding for almost all of the items in the data source. Or perhaps you have some special formatting or secondary data...
· Transforming an XML document using XSL/T and outputting the results to the browser is a fairly simple task in ASP.NET. The following user control demonstrates the ease with which this can be accomplished. This user control has a parameter for the XML source(XMLSource), and a ...
· //
// m_cmdAuthorsDelete
//
this.m_cmdAuthorsDelete.CommandText = @"DELETE FROM authors WHERE (au_id = @au_id) AND (address = @address OR @address1 IS NULL AND address IS NULL) AND (au_fname = @au_fname) AND (au_lname = @au_lname) AN...
· <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<TITLE>客户端DataSet</TITLE>
<SCRIPT>
var iRowIdx =...
· using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Web;
using System.Web.Services;namespace ClientSideDataSets
{
public class ClientDataSetDataProvider : System.Web.Se...
· 在很久很久以前----可能都快一年了吧,我第一次看 ASP.net (那时江湖人称 ASP+),看到 application, session 什么的,就和自己说“人在哪!人在哪!"
等到看到 web form server controls,更是忍不住窃笑----“不就是以前 vi6 dtc controls 吗,
你以为你穿了马甲我就不认识你了”。
随便翻了...
· HOW TO: Create an Assembly with a Strong Name--------------------------------------------------------------------------------
The information in this article applies to:Microsoft Visual Studio .NET Beta 2 -----------------------------------------------------------------------...