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

asp.netģ̬´°¿ÚʹÓÃ

1 ÈçºÎÔÚÌá½»ºó·ÀÖ¹µ¯³öд°¿Ú
2 ÔÚģ̬´°¿ÚÖÐÔٴε¯³öģ̬´°¿Ú
3 ģ̬´°¿Ú·µ»ØÖµ
4 ˢи¸´°¿Ú
5 ¸¸´°¿ÚÈçºÎÌí¼Óˢнű¾
Ö÷´°¿Úµ¯³öÒ»¸öģ̬´°¿Ú,
var firstDiag = window.showModalDialog(url,window,"center:yes;dialogWidth:300px;dialogHeight:400px");
×¢:ÔÚurlÎļþµÄhead¼ÓÈë <base target='_self'> ¾Í¿ÉÒÔÌí¼ÓÍêÒ»ÌõÄÚÈݺó,¼ÌÐøÌí¼Ó.¶ø²»»áÔÙµ¯³öÒ»¸öģ̬´°¿Ú.
ÔÚfirstDiag´°¿ÚÖÐÔÙµ¯³öÒ»¸öģ̬´°¿Ú
function opendialogwin2(url)
    {
        var l;
        l=(window.screen.width-400)/2;
        var t;
        t=(window.screen.height-400)/2;
//        o dialogHeight: sHeight
//        o dialogLeft: sXpos
//        o dialogTop: sYpos
//        o dialogWidth: sWidth
//        o center: ( yes | no | 1 | 0 | on | off )
//        o dialogHide: ( yes | no | 1 | 0 | on | off )
//        o edge: ( sunken | raised )
//        o help: ( yes | no | 1 | 0 | on | off )
//        o resizable: ( yes | no | 1 | 0 | on | off )
//        o scroll: ( yes | no | 1 | 0 | on | off )
//        o status: ( yes | no | 1 | 0 | on | off )
        var secondDiag = window.showModalDialog(url,window,"center:yes;dialogWidth:50px;dialogHeight=50px;edge:raised");
        form1.txt_gzsj.value=secondDiag; //½ÓÊÕÑ¡ÔñµÄÖµ
    }
<form id="form1" runat="server">
    <div>
        <div id="retu"&g


Ïà¹ØÎĵµ£º

JQueryµ÷ÓÃasp.netºǫ́·½·¨

ÀûÓÃJQueryµÄ$.ajax()¿ÉÒԺܷ½±ãµÄµ÷ÓÃasp.netµÄºǫ́·½·¨¡£
ÏÈÀ´¸ö¼òµ¥µÄʵÀýÈÈÈÈÉí°É¡£
1¡¢ÎÞ²ÎÊýµÄ·½·¨µ÷ÓÃ
asp.net code£º
using System.Web.Script.Services;
[WebMethod]
public static string SayHello()
{
return "Hello Ajax!";
}
×¢Ò⣺1.·½·¨Ò»¶¨Òª¾²Ì¬·½·¨£¬¶øÇÒÒªÓÐ[WebMethod]µÄÉùÃ÷
JQuery ......

[·ÖÏí]ASP.netÒ»¸ö¿Õ¼ä¶à¸öÍøÕ¾µÄÉèÖÃ

¿´µ½ÓÐÈËÌáÎÊÒ»¸ö¿Õ¼äÖ§³Ö¶à¸öÍøÕ¾µÄÎÊÌâ¡£
×ܽáһϣº
×îºÃ±£Ö¤¸÷¸öÏîÄ¿app_codeÄÚµÄÎļþ¶¼ÊÇÒ»ÑùµÄ¡£
ÒòΪÉú³É¶à¸öÏîÄ¿±Ø¶¨Éú³É¶à¸öApp_Code.dll£¬
ÓÉÓÚËùÓÐdll·ÅÔÚͬһ¸öbinĿ¼£¬ËùÒÔÒª±£Ö¤app_codeÄÚµÄÎļþÒ»Ñù¡£
·¢²¼Ç°ËùÓÐÏîÄ¿aspxÎļþµÄ Inherits="menulefttb" ÖеÄÃû×Ö²»ÄÜÏàͬ¡£
½«Ã¿¸öÏîÄ¿·¢²¼ºóÉú³ÉµÄdll ......

asp.netÍøÒ³²¥·ÅÆ÷

֮ǰҪÍê³ÉÒ»¸öÖ§³Ö¶àÖ§³Ö¶àÖÖ¸ñʽµÄÊÓƵ²¥·ÅÆ÷£¬ÔÚÍøÉÏÕÒµ½Ò»¸öVBдµÄ£¬È»ºó¸Ä³ÉC#£¬½ü¶ÎÔÚÍøÉÏÒ²¼ûÓв»ÉÙÈËÎÊÕâ¸öÎÊ£¬ÔÚ´Ë·ÖÏí
public class VideoPlayer
    {
        /// <summary>
        /// Éú³ÉÊÓƵ²¥·ÅÆ÷µÄHTM ......

VS ASP.NETÉèÖöϵã ÎÞ·¨µ÷ÊÔ

VS ASP.NETÉèÖöϵã ÎÞ·¨µ÷ÊÔ
ÎҵĿª·¢¹¤¾ßVS2005 IEä¯ÀÀÆ÷ÊÇ8.0£¬ÉèÖöϵãÖ®ºó²»Äܵ÷ÊÔ¡£
Ò»°ã»áÓÐÁ½ÖÖ¿ÉÄÜ£º
Ò»¡¢web.config debugÊôÐÔÉèÖÃΪTRUE
<compilation debug="true" />
¶þ¡¢IE8µÄÎÊÌâ
ÐÞ¸Ä×¢²á±í£ºHKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
ÐÂÔöÃû³ ......

asp.netµÄÒ»¸ödbhelperÀà

using System;
using System.Collections;
using System.Collections.Specialized;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections.Generic;
using System.Text;
namespace Maticsoft.DBUtility
{
     /// <summary>
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ