Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Asp.net AJAX Web Serviceд·¨²îÒì

ÔÚC#ÖÐ
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Web.Script.Services;
using System.Collections.Generic;
using System.Collections;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[GenerateScriptType(typeof(Employee ))]
[ScriptService]
public class PeopleManagementService : System.Web.Services.WebService
{
    [WebMethod]
    [ScriptMethod(UseHttpGet = true)]
    public Employee CreateNewEmployee()
    {
        return new Employee();
    }
}
vb.net
Imports System;
Imports System.Web;
Imports System.Web.Services;
Imports System.Web.Services.Protocols;
Imports System.Web.Script.Services;
Imports System.Collections.Generic;
Imports System.Collections;
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
<GenerateScriptType(GetType(Employee))> _
<ScriptService()> _
Public Class PeopleManagementService 
    Inherits System.Web.Services.WebService
   <WebMethod()> _
   <ScriptMethod(usehttpget:=True)> _
    Public Function CreateNewEmployee() As Employee
        Return New Employee()
    End Function
End Class
C#ÖеÄstatic,¶ÔÓ¦vb.net shared
ÒòΪ×Ô¼º»ù±¾ÉÏʹÓõÄvb.net£¬¿´µÄ×ÊÁÏÓÖ»ù±¾ÉÏÊÇC#µÄ£¬ºÜÉÙµÄvb.netµÄÀý×Ó£¬¾Í½«²îÒì¼Ç¼ÏÂÀ´


Ïà¹ØÎĵµ£º

asp.netĸ°æҳʹÓÿؼþʱ,¿Ø¼þÖз¾¶ÎÊÌâ

¸Õ¸ÕÔÚheadmenu¿Ø¼þÀïÃæдÁËÒ»¸öµ¼º½Ìõ,Óõ½Á˱¾µØµÄͼƬ,ÔڿؼþÖÐÏÔʾÁ¼ºÃ,¿ÉÊǷŵ½Ä¸°æʽҳºó,·¢ÏÖµ¼º½Ìõ±³¾°Í¼Æ¬Ã»ÁË,ÓÚÊÇ×Ðϸ¼ì²éÁËÏÂͼƬµÄurl,ÎÒÓõÄÊǾø¶Ô·¾¶,ÄѵÀ·ÅÔÚÖ÷Ò³ÉϺó,·¾¶Ò²¸Ä±äÁË,ÉÏÍø²éÁËÏÂ,»¹ÕæÊÇÕâ¸öÎÊÌâ,ͼƬÔڿؼþÀïÃæ¿´²»µ½Ã»¹Øϵ,¹Ø¼üÊÇÒªÔÚĸ°æʽҳÄÜ¿´µ½¾ÍÐÐ,·¾¶¶¼Òª¸ù¾Ýĸ°æÒ³µÄд. ......

asp.netÈçºÎ½«¶¯Ì¬Ò³Ãæת³É¾²Ì¬Ò³Ãæ


¶¯Ì¬Ò³ÃæÉú³É¾²Ì¬Ò³Ãæ˵ÆðÀ´Æäʵ²»ÄÑ£¬Ö÷ÒªÊÇ˼ÏëµÄÎÊÌ⣬ÏñÄÇЩÐÂÎŲ»Ì«³£¸Ä¶¯µÄ£¬ÎÒÃÇ¿ÉÒÔ½«ËûÉú³É¾²Ì¬µÄ£¬À´Ìá¸ßÍøÕ¾µÄ·ÃÎÊËٶȣ¬ÒÔϾÍÊÇÎҵķ½·¨£¬ºÜ¼òµ¥
ÎÒÃÇÏȽ«ÎÒÃǵĶ¯Ì¬ÍøÕ¾·Åµ½ÍøÉÏ£¬²¢ÇÒ¿ÉÒÔÕý³£·ÃÎÊ£¬È»ºó¾ÍÊÇÓõ½ÁËץȡҳÃæµÄ¼¼ÊõÁË
  /// <summary>
    /// »ñµÃÍøÒ³ÄÚÈÝ
& ......

ajax°²×°


web2.0ºá¿Õ³öÊÀ£¬ajaxÊ×µ±Æä³å£¬½ñÌì×öwebµÄÈç¹ûÔÙ²»Ñ§µãajaxµÄ»°£¬¾ÍÏÔµÄÂäÎéÁË£¬¶øѧajaxµÄÓõĻ·¾³Èç¹ûÊÇasp.net£¬ÄÇajax.netÄã¾Í²»µÃ²»Ñ§ÁË¡£Ê×ÏȾÍÊÇ»·¾³µÄÅäÖã¬ÈçÏÂ
vs2005+sql2005+Winxp sp2+ie6.0+Office2003»·¾³ÉèÖÃÈçÏ£º
ÏÂÔØÍê ASPAJAXExtSetup.msi °²×°¸üкóÔÚÄãµÄϵͳÅÌϵģ¨ÒÔCÅÌΪÀý£© ³öÏÖÕâ¸ö Îļ ......

·µ»Ø°´Å¥µÄʵÏÖ·½·¨£¨asp.net ÖУ©


·µ»Ø°´Å¥µÄʵÏÖ·½·¨£¨asp.net ÖУ©
Òý×Ô:http://blog.sina.com.cn/s/blog_49df2d0b0100aqoy.html
·µ»ØÉÏÒ»Ò³µÄÕâ¸ö¶«¶«ÔÚÎÒÃÇ×öÏîÄ¿µÄʱºòÒ»°ãÊÇÓÃÓÚÌîдÍê±íµ¥ºóÈ·ÈϵÄʱºò£¬ÓжÔÔ­À´ÊäÈëµÄÊý¾Ý½øÐÐÐÞ¸ÄʱÓõģ¬»òÕßÊÇÒòΪÍøվΪÁË·½±ãä¯ÀÀÕ߶øÓÐÐÄÌí¼Ó µÄÒ»¸ö¶«¶«£¬Ò»°ãÕâÖÖ¹¦ÄܵÄʵÏÖÔÚASP.netÖж¼ÊÇÓÃÒ»¸öbuttonµÄ¿ ......

asp.net ¶Ô Îļþ½øÐÐѹËõ or ½âѹ£¨zip

asp.net ¶Ô Îļþ½øÐÐѹËõ or ½âѹ£¨zip£©
/// <summary>
/// ¶ÔÎļþ½øÐУ¨Ñ¹Ëõ£¬½âѹ£©
/// </summary>
public static class ZIP
{
/// <summary>ѹËõÎļþ</summary>
/// <param name="filename">filenameÉú³ÉµÄÎļþµÄÃû³Æ£¬È磺C\123\123.zip</param>
/// <param name="d ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ