ʹÓÃHTML/ASP×öÈí¼þµÄ½çÃæ
Ò»°ãÎÒÃÇ×ö³ÌÐò£¬±ÈÈçÓÃVC,¿ª·¢½çÃæÊǸöÍ·Í´µÄÎÊÌâ¡£¿ª·¢Ð§ÂÊÌ«µÍ£¬¶øÇÒ×ö³öÀ´µÄЧ¹ûҲ̫²îÁË¡£¿´ÆðÀ´Ì«²»ÃÀ¹ÛרҵÁË¡£ÁíÒ»·½ÃæHMTL×ö½çÃæÊÇÓÖ·½±ãÓÖÃÀ¹Û£¬ÇÒ»¹ÌìÉúÖ§³Öscript½Å±¾¡£·Ç³£Ç¿´ó°¡¡£ÎÒÃÇÒ»°ãʹÓÃhtmlµÄʱºò¶¼ÊÇ×öµÄB/S½á¹¹µÄÈí¼þ£¬ÐèÒªÒ»¸öWEB·þÎñÆ÷¡£ÕâÑùÄØ£¬µ¥»ú³ÌÐòËƺõ¾ÍÎÞ·¨ÏíÊܵ½HTMLµÄ·½±ãºÍ¿ì½ÝÁË¡£Æäʵ²»È»£¬·½°¸ÓÐ2ÖÖ£¬Ò»ÖÖÊÇÔÚ±¾µØ¼ÓÔØhtml£¬ÕâÖÖ·½°¸ºÜ²î£¬ÒòΪÎÒÃÇÎÞ·¨ÀûÓÃweb·þÎñÆ÷Ç¿´óµÄRespose/requeset/server¶ÔÏ󣬶øÖ»ÄÜÔÚ´úÂëÖдóÁ¿³ä³âÅжÏ×Ö·û´®µÄ´úÂ룬ÄÇÑù·Åµ½¹¤×÷Á¿¼Ó´óÁË¡£ÁíÒ»¸öÖз½°¸¾ÍÊÇʹÓñ¾µØµÄweb·þÎñÆ÷£¬±ÈÈç˵apache¾ÍÊǹ«¿ªÔ´´úÂëµÄ£¬¿ÉÒÔ×Ô¼ºÐ޸ijÉÒ»¸ö¾«¼ò½øÈëÄã×Ô¼ºµÄ¹¤³Ìµ±ÖÐÈ¥Ìṩ·þÎñ¡£µ±È»apache·þÎñÆ÷´úÂëÁ¿Ì«´óÁ˵㣬ÆäËû´ó¼Ò¿ÉÒÔÕÒһЩ¿ªÔ´µÄasp web·þÎñÆ÷´úÂ룬Èç¹û×Ô¼ºÊµÏÖÒ»¸öÒ²²»Ì«¸´ÔÓ£¬µ«ÊÇÒ²¿Ï¶¨ÓÐÒ»¶¨¹¤×÷Á¿µÄ¡£Õâ¸öÒ²¾ÍËãÕâÖÖ·½°¸×îºËÐĵŤ×÷ÁË¡£ ÏÂÃæ¾Í¿ÉÒÔÔÚ×Ô¼ºµÄ¹¤³ÌÀïÖ±½Ó¿ªÒ»¸öhtml´°ÌåÁË£¬´úÂëÈçÏÂ:£¨×¢Òâ±àÒëµÄʱºò¼ÇµÃʹÓÃ_stdcall·½Ê½£© HINSTANCE hinstMSHTML = LoadLibrary(TEXT("MSHTML.DLL"));
typedef HRESULT (*FunSHOWMODELESSHTMLDIALOGFN)(
HWND hwndParent,
IMoniker *pMk,
VARIANT *pvarArgIn,
WCHAR *pchOptions,
IHTMLWindow2 **ppWindow
);
::CoInitialize(0) ;
IHTMLWindow2 * iwnd = 0;
if (hinstMSHTML)
{
FunSHOWMODELESSHTMLDIALOGFN pfnShowModelessHTMLDialog;
pfnShowModelessHTMLDialog = (F
Ïà¹ØÎĵµ£º
<form action="#" method="get">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
<form action="#" method="post">ÕâÀïÊÇ±íµ¥µÄÄÚÈÝ</form>
ÊôÐÔ"action",ÀïÃæÉèÖõÄÊÇ±íµ¥Ìá½»µÄ·¾¶.Ò»¸ö¶ÔÏó,°×»°ÎĵĽâÊÍ:±íµ¥½»¸øÁËË.
ÊôÐÔ"method",ÀïÃæÉèÖõÄÊÂ±íµ¥Ìá½»µÄ·½Ê½,Ò»ÖÖ·½·¨,°×»°ÎĽâÊÍ:ÒªÔõÑùÌá½»Õâ¸ö±íµ¥,ÊÇÎÒÖ±½Óà ......
¡¡¡¡×î½üÓкܶàµÄÅóÓÑÎʵ½µ÷Óô洢¹ý³ÌµÄÎÊÌ⣬ÕâÀï¼òµ¥½éÉܼ¸ÖÖASPµ÷Óôø²ÎÊý´æ´¢¹ý³ÌµÄ·½·¨¡£
¡¡¡¡1. ÕâÒ²ÊÇ×î¼òµ¥µÄ·½·¨,Á½¸öÊäÈë²ÎÊý£¬ÎÞ·µ»ØÖµ£º
¡¡¡¡set connection = server.createobject("adodb.connection")
¡¡¡¡connection.open someDSN
¡¡¡¡Connection.Execute "procname varvalue1, varvalue2"
¡¡¡¡'½«Ëù ......
¡¡¡¡7. ·µ»Ø¶à¸ö¼Ç¼¼¯µÄ´æ´¢¹ý³Ì
¡¡¡¡±¾ÎÄ×îÏȽéÉܵÄÊÇ·µ»Ø¼Ç¼¼¯µÄ´æ´¢¹ý³Ì¡£ÓÐʱºò£¬ÐèÒªÒ»¸ö´æ´¢¹ý³Ì·µ»Ø¶à¸ö¼Ç¼¼¯£¬ÔÚASPÖУ¬ÈçºÎͬʱȡµÃÕâЩ¼Ç¼¼¯ÄØ£¿ÎªÁË˵Ã÷ÕâÒ»ÎÊÌ⣬ÔÚuserinfo±íÖÐÔö¼ÓÁ½¸ö×ֶΣºusertel¼°usermail£¬²¢É趨ֻÓеǼÓû§¿ÉÒԲ鿴ÕâÁ½ÏîÄÚÈÝ¡£
/*SP7*/
CREATE PROCEDURE dbo.getUserInfo
......
<html>
<head>
<mce:style type="text/css"><!--
td
{
width:50;
height:50;
text-align:center;
vertical-align: center;
}
table
{
vertical-align: bottom;
}
legend
{
text-align:center;
}
fieldset
{
width:300;
......
Æäʵ ºÜ¶àÈË ÏÖÔÚÔÚÕùÂÛ FLASH ºÍHTML5 ÕâЩ¶«¶« ¡£
µ«ÎҸоõÆäʵûÓбØÒª£¬
ÏÈ˵˵ FLEX ºÜ¶àÈË Ñ§Ï° FLEX µÄʱºò ÓÈÆä ÖйúÈË ºÜϲ»¶¸ú·ç ¶øÇÒºÜÑÏÖصÄÄÇ×Ü£¬ºÜÉÙÓÐÈË̤̤ʵʵµÄÈ¥»ýÀÛ¡£
Äã˵°üÀ¨ EXTJS FLEX Ò²ºÃ µÈµÈ ÕâЩÖØÁ¿¼¶ µÄ ¿ò¼ÜºÍ×é¼þ Æäʵ ¶¼¸øÄãºÜ¶àDEMO ºÍ ÍøÉÏ¿ÉËÑË÷ÕâÑùµÄ¡£ºÜɵ¹ÏÁË
ÇáËɵľÍÄÜÕÆÎÕ¡ ......