ʹÓÃ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
Ïà¹ØÎĵµ£º
Íê³ÉÒÔϲ¿·Ö£º
1. Ê÷¿ÉÒÔ½ÓÊÜsingleXml¸ñʽºÍjsonÒÔ¼°jsonarray¸ñʽµÄÊý¾Ý£»
2. ¸´Ñ¡¿ò¹´Ñ¡ºÍÕÛµþ×Ó½ÚµãµÄÂß¼ÓÃdivǶÌ×À´ÊµÏÖ,ЧÂʸü¸ß;²¢ÌṩÁË¿ìËÙ»Ê÷µÄ·½·¨;(´æÔÚbug:¿ìËÙ»Ê÷ЧÂʲ¢²»¸ß,divǶÌ×ÓÐÎÊÌâ);
3.Ôö¼ÓÊ÷µÄÉî¶È this.depth ......
¶¨ÒåºÍÓ÷¨
<area> ±êÇ©¶¨ÒåͼÏñÓ³ÉäÖеÄÇøÓò£¨×¢£ºÍ¼ÏñÓ³ÉäÖ¸µÃÊÇ´øÓпɵã»÷ÇøÓòµÄͼÏñ£©¡£
area ÔªËØ×ÜÊÇǶÌ×ÔÚ <map> ±êÇ©ÖС£
×¢ÊÍ£º<img> ±êÇ©ÖÐµÄ usemap ÊôÐÔÓë map ÔªËØ name ÊôÐÔÏà¹ØÁª£¬´´½¨Í¼ÏñÓëÓ³ÉäÖ®¼äµÄÁªÏµ¡£
ʵÀý
´øÓпɵã»÷ÇøÓòµÄͼÏñÓ³É䣺
<img src="planets.jpg" border=" ......
¡¡¡¡1. Ö»·µ»Øµ¥Ò»¼Ç¼¼¯µÄ´æ´¢¹ý³Ì
¡¡¡¡¼ÙÉèÓÐÒÔÏ´洢¹ý³Ì(±¾ÎĵÄÄ¿µÄ²»ÔÚÓÚ½²ÊöT-SQLÓï·¨£¬ËùÒÔ´æ´¢¹ý³ÌÖ»¸ø³ö´úÂ룬²»×÷˵Ã÷)£º
/*SP1*/
CREATE PROCEDURE dbo.getUserList
as
set nocount on
begin
select * from dbo.[userinfo]
end
go
¡¡¡¡ÒÔÉÏ´æ´¢¹ý³ÌÈ¡µÃuserinfo±íÖеÄËùÓмǼ£¬·µ»ØÒ»¸ö¼Ç¼¼¯¡£Í¨¹ ......
¡¡¡¡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;
......