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

asp.net + jquery+json µÄ¼òµ¥ÊµÀý

ÕâÀïÊÇÎÒµÄÒ»¸ö¼òµ¥µÄjquery+jsonµÄÁ¬¿â²Ù×÷£¬Ö»ÊÇÒ»¸ö¼òµ¥²éѯ£¬
//ºǫ́´úÂë
<%@ WebHandler Language="C#" Class="show" %>
using System;
using System.Web;
using System.Collections.Generic;
using Model;
using DAL;
using System.Web.Script.Serialization;
public class show : IHttpHandler {
   
    public void ProcessRequest (HttpContext context) {
       
        JavaScriptSerializer serializer=new JavaScriptSerializer();
        //µ÷Óúǫ́·½·¨
        IList<test> tt = testservice.getalltest();
         //ÐòÁл¯
        string date= serializer.Serialize(tt);
        context.Response.ContentType = "text/plain";
        
        context.Response.Write(date);
              
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }
}
//ǰ̨´úÂë
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="js/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        $(document).ready(function() {
 &n


Ïà¹ØÎĵµ£º

asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000

asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000µÄ˼·ºÍ²½Ö裺
1¡¢½«ExcelÎļþÉÏ´«µ½·þÎñÆ÷¶Ë
        Õâ¸öÎÒ²»ÏëÏêϸ½²ÁË,ÍøÉÏÒ»ËÑÒ»´ó°ÑµÄ.
        ×¢Ò⣺£¨1ÔÚÈ¡·þÎñÆ÷·¾¶Ê±Ò»¶¨ÒªÓÃthis.Page.MapPath(".")¶ø²»ÒªÓà this.Page.Request.Applic ......

ASP.NETÖÐMD5ºÍSHA1¼ÓÃܵļ¸ÖÖ·½·¨

MD5µÄÈ«³ÆÊÇMessage-Digest Algorithm 5£¨ÐÅÏ¢-ÕªÒªËã·¨£©£¬ÔÚ90Äê´ú³õÓÉMit Laboratory for Computer ScienceºÍRsa data security incµÄRonald l. rivest¿ª·¢³öÀ´£¬¾­md2¡¢md3ºÍmd4·¢Õ¹¶øÀ´¡£ËüµÄ×÷ÓÃÊÇÈôóÈÝÁ¿ÐÅÏ¢ÔÚÓÃÊý×ÖÇ©ÃûÈí¼þÇ©Êð˽ÈËÃܳ×ǰ±»"ѹËõ"³ÉÒ»ÖÖ±£Ãܵĸñʽ£¨¾ÍÊǰÑÒ»¸öÈÎÒⳤ¶ÈµÄ×Ö½Ú´®±ä»»³ÉÒ»¶¨³¤µÄ´óÕ ......

asp.netÖÐSystem.DateTime.Now.ToString()µÄһЩÓ÷¨

Asp.netÖеÄÈÕÆÚ´¦Àíº¯Êý
 //2009Äê4ÔÂ24ÈÕ
this.TextBox6.Text = System.DateTime.Now.ToString("D");
//2009-4-24
this.TextBox7.Text = System.DateTime.Now.ToString("d");
//2009Äê4ÔÂ24ÈÕ 16:30:15
this.TextBox8.Text = System.DateTime.Now.ToString("F");
//2009Äê4ÔÂ24ÈÕ 16:30
this.TextBox9.Text ......

asp.net DateTime ʱ¼äº¯Êý

1¡¢DateTime     Êý×ÖÐÍ   
    System.DateTime currentTime=new System.DateTime();   
    1.1 È¡µ±Ç°ÄêÔÂÈÕʱ·ÖÃë   
    currentTime=System.DateTime.Now;   
  & ......

ASP.NETÒ³ÃæË¢Ð·½·¨×ܽá

ÏÈ¿´¿´ASP.NETÒ³ÃæË¢ÐµÄʵÏÖ·½·¨£º
µÚÒ»£º
C# code
private void Button1_Click( object sender, System.EventArgs e )
{
Response.Redirect( Request.Url.ToString( ) );
}
µÚ¶þ£º
C# code
private void Button2_Click( object sender, System.EventArgs e )
{
Response.Write( " < script lang ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ