摘要:
//一般处理文件--Handler<%@ WebHandler Language="C#" Class="HandlerPerson" %>using System;using System.Web;public class HandlerPerson : IHttpHandler { public void ProcessRequest (HttpContext context) ... 阅读全文
摘要:
<asp:Panel ID="Panel1" runat="server" Width = "45" Height ="45"> </asp:Panel> <br /> <cc1:DropShadowExtender ID="DropShadowExtender1" runat="server" TargetControlID="Panel1" Width... 阅读全文
摘要:
它利用了属性arguments来判断其参数的个数例如: <script language="javascript" type="text/javascript"> function show(name) { if(arguments.length==0) { WebService008.test(str); } else if(arguments.length ==1) { WebS... 阅读全文
摘要:
将控件ScriptManager中的EnablePageMethods="true"就可以直接调用Webservice中的方法啦 阅读全文
摘要:
//html页<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ajax-6.aspx.cs" Inherits="Ajax_6" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/... 阅读全文
摘要:
<script language="javascript" type="text/javascript"> (function gettable() { WebService005.GetTable(onss, err); })(); function onss(info) { var ss = new Sys.StringBuilder(); ss.append ("<div... 阅读全文
摘要:
<script language="javascript" type="text/javascript"> function show() { var pero = new Person(); pero.Name = "Sandy"; pero.Id = "51"; WebServiceMethod.GetPeron(pero, onsc); } function onsc(ss) {... 阅读全文
摘要:
//返回鼠标在固定区域内的坐标 <div style="width:300px; height:300px; background-color:Red" id="mouseEvent"></div> <script language="javascript" type="text/javascript"> function onMouseDown(e) { $g... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Lucene.Net.Analysis;using Lucene.Net.Documents;using Lucene.Net.Index;using Lucene.Net.QueryParsers;using Lucene... 阅读全文