asp.net½Ì³Ì:WPFͼÐÎϵͳ
ÔÚWindows NTÖУ¬Í¼ÐζàýÌåϵͳ»ùÓÚ²ã´Î½á¹¹¡£Ó¦ÓóÌÐòÓ붥²ãµÄAPI£¨Êµ¼ÊÉÏÊǶà¸öÓû§Ä£Ê½µÄϵͳDLL£¬±ÈÈçGDI32.DLL£©½»»¥£¬ÕâЩϵͳDLL×îÖÕ»áͨ¹ýϵͳ·þÎñµ÷Óô¦ÓÚÄÚºËģʽµÄϵͳ·þÎñ¡£
NTϵͳµÄÏêϸÐÅÏ¢¿É²Î¿¼¡¶Windows ͼÐαà³Ì¡·µÄµÚÒ»¡¢¶þÕ¡£ÔÚWindows VistaÖУ¬Í¼ÐÎϵͳÒѾÒƳöÁËÄÚºËģʽ£¬²¢ÓÐ×Ô¼ºµÄ¿Õ¼ä££WPF¡£ WPFÒƳöÄں˳ýÁËÈ«ÃæÌá¸ßÎȶ¨ÐÔ£¨ÄÚºËģʽÖÐͨ³£ÐèÒª¹²Ïí×ÊÔ´£©£¬Ò²Ê¹µÃʵÏÖÄÚºËģʽ¸ß¼¶¿ØÖƳÉΪ¿ÉÄÜ¡£
Ê×ÏÈ£¬WPF²»ÔÙΨһÒÀ¿¿GDIͼÐÎAPI£¬Vista¸ü¶àµÄÒÀ¿¿Direct3D´¦ÀíͼÐβÙ×÷£¬ÕâÑùÔÊÐí¸ü¶àµÄD3DÌØÕ÷£¬ÊµÏÖ¸ü¿áµÄÍâ¹ÛºÍЧ¹û¡£µ±È»£¬ÎªÁËʵÏÖÕâÑùµÄЧ¹û£¬VistaµÄÉè¼ÆÉÏÒ²ÓÐËù¸Ä±ä¡£Windows Vista¾¡Á¿²»ÓÃCPU½øÐÐÏÔʾ£¬¶øÊÇÓÃÏÔʾ¿¨µÄͼÐδ¦Àíµ¥Ôª£¨Graphics Processing Unit, GPU£©£¬ÓÃʸÁ¿Í¼´úÌæλͼ¡£ Windows Vista»¹²ÉÓÃÁËÁíÍâÒ»ÖÖÇý¶¯Ä£ÐÍ££WindowsÏÔʾÇý¶¯Ä£ÐÍ£¨WDDM£©¡£ÊµÏÖ²Ù×÷ϵͳºÍͼÐο¨GPUÖ®¼ä¸ü¸´ÔÓµÄͨÐÅ¡£ÎªÁË´¦Àí²Ù×÷ϵͳ¸ü¸ßµÄ3D´¦ÀíÇëÇó£¬ÐµÄWDDMÇý¶¯ÀàÐÍÐèÒª¸ü¶àµÄÏÔʾ¿¨ÄÚ´æ¡£VistaÄܾ¡¿ÉÄܵÄÀûÓÃÏÔʾ¿¨ÒÔ´ïµ½×îºÃµÄÐÔÄÜ¡£
ÏÖÔÚ»ù±¾Á˽âÁËWindows VistaͼÐÎϵͳ£¬ÔÙ¿´¿´Æä¿É²âÁ¿ÐÔ¡£Windows Vista¿ÉÌṩ·Ç³£¸ßµÄÖÕ¶ËͼÐΣ¬¾Ý´ËºÜ¶àÈ˶¼´íÎóµÄÈÏΪ£ºÎªÁËÔËÐÐWindows Vista²Ù×÷ϵͳ£¬±ØÐëÒª·Ç³£¸ß¶ËµÄͼÐÎÓ²¼þ¡£ÊÂʵÉϲ¢²»ÍêÈ«Èç´Ë¡£Windows VistaͼÐÎϵͳһ¸ö¹Ø¼üºÃ´¦¾ÍÊÇ¿ÉÒÔ¼ì²âÏÔʾ¿¨µÄÐÔÄÜ¡£Vista¸ù¾Ý²»Í¬µÄÐÔÄܺÍÇý¶¯Ä£ÐÍ£¨WDDM£¬XPDM£©Ìṩ¸øÓû§²»Í¬µÄÓû§ÌåÑé¡£
ÔÚWindows NTÖУ¬Í¼ÐζàýÌåϵͳ»ùÓÚ²ã´Î½á¹¹¡£Ó¦ÓóÌÐòÓ붥²ãµÄAPI£¨Êµ¼ÊÉÏÊǶà¸öÓû§Ä£Ê½µÄϵͳDLL£¬±ÈÈçGDI32.DLL£©½»»¥£¬ÕâЩϵͳDLL×îÖÕ»áͨ¹ýϵͳ·þÎñµ÷Óô¦ÓÚÄÚºËģʽµÄϵͳ·þÎñ¡£NTϵͳµÄÏêϸÐÅÏ¢¿É²Î¿¼¡¶Windows ͼÐαà³Ì¡·µÄµÚÒ»¡¢¶þÕ¡£ÔÚWindows VistaÖУ¬Í¼ÐÎϵͳÒѾÒƳöÁËÄÚºËģʽ£¬²¢ÓÐ×Ô¼ºµÄ¿Õ¼ä££WPF¡£
WPFÒƳöÄں˳ýÁËÈ«ÃæÌá¸ßÎȶ¨ÐÔ£¨ÄÚºËģʽÖÐͨ³£ÐèÒª¹²Ïí×ÊÔ´£©£¬Ò²Ê¹µÃʵÏÖÄÚºËģʽ¸ß¼¶¿ØÖƳÉΪ¿ÉÄÜ¡£Ê×ÏÈ£¬WPF²»ÔÙΨһÒÀ¿¿GDIͼÐÎAPI£¬Vista¸ü¶àµÄÒÀ¿¿Direct3D´¦ÀíͼÐβÙ×÷£¬ÕâÑùÔÊÐí¸ü¶àµÄD3DÌØÕ÷£¬ÊµÏÖ¸ü¿áµÄÍâ¹ÛºÍЧ¹û¡£µ±È»£¬ÎªÁËʵÏÖÕâÑùµÄЧ¹û£¬VistaµÄÉè¼ÆÉÏÒ²ÓÐËù¸Ä±ä¡£Windows Vista¾¡Á¿²»ÓÃCPU½øÐÐÏÔʾ£¬¶øÊÇÓÃÏÔʾ¿¨µÄͼÐδ¦Àíµ¥Ôª£¨Graphics Processing Unit, GPU£©£¬ÓÃʸÁ¿Í¼´úÌæλͼ¡
Ïà¹ØÎĵµ£º
DataGridView 72¼Æ
±¾ÎĽ«½éÉÜASP.NETÖÐDataGridViewµÄÓ÷¨,DataGridViewÔÚAsp.netÖÐÊdz£ÓõĿؼþÖ®Ò»£¬ÕÆÎÕºÃDataGridViewµÄÌصãºÍÓ÷¨¡£½«¶Ô³ÌÐòµÄÐÔÄÜÓдó´óµÄÌá¸ß£¬Í¬Ê±Ò²ÄܼӿìÎÒÃÇÏîÄ¿µÄ¿ª·¢ÖÜÆÚ£¡
¿ìËÙÔ¤ÀÀ£º
GridViewÎÞ´úÂë·ÖÒ³ÅÅÐò
GridViewÑ¡ÖУ¬±à¼£¬È¡Ïû£¬É¾³ý
GridViewÕý·´Ë«ÏòÅÅÐò
GridViewºÍÏÂÀ²Ëµ¥ ......
ÀûÓÃJQueryµÄ$.ajax()¿ÉÒԺܷ½±ãµÄµ÷ÓÃasp.netµÄºǫ́·½·¨¡£
ÏÈÀ´¸ö¼òµ¥µÄʵÀýÈÈÈÈÉí°É¡£
1¡¢ÎÞ²ÎÊýµÄ·½·¨µ÷ÓÃ
asp.net code£º
using System.Web.Script.Services;
[WebMethod]
public static string SayHello()
{
return "Hello Ajax!";
}
×¢Ò⣺1.·½·¨Ò»¶¨Òª¾²Ì¬·½·¨£¬¶øÇÒÒªÓÐ[WebMethod]µÄÉùÃ÷
JQuery ......
1.newÓм¸ÖÖÓ÷¨
µÚÒ»ÖÖ:new Class();
µÚ¶þÖÖ:¸²¸Ç·½·¨
public new XXXX(){}
µÚÈýÖÖ:new Ô¼ÊøÖ¸¶¨·ºÐÍÀàÉùÃ÷ÖеÄÈκÎÀàÐͲÎÊý¶¼±ØÐëÓй«¹²µÄÎÞ²ÎÊý¹¹Ô캯Êý¡£
2.ÈçºÎ°ÑÒ»¸öarray¸´ÖƵ½arrayListÀï
foreach( object o in array )arrayList.Add(o);
3.datagrid.datasous ......
URL ÖØдÊǽØÈ¡´«Èë Web ÇëÇó²¢×Ô¶¯½«ÇëÇóÖض¨Ïòµ½ÆäËû URL µÄ¹ý³Ì¡£
±ÈÈçä¯ÀÀÆ÷·¢À´ÇëÇóhostname/101.aspx £¬·þÎñÆ÷×Ô¶¯½«Õâ¸öÇëÇóÖж¨ÏòΪhttp://hostname/list.aspx?id=101¡£
urlÖØдµÄÓŵãÔÚÓÚ£º
Ëõ¶Ìurl£¬Òþ²Øʵ¼Ê·¾¶Ìá¸ß°²È«ÐÔ
Ò×ÓÚÓû§¼ÇÒäºÍ¼ ......
asp.netÔÚ¿ª·¢Ê±,ÔÚ²»Í¬µÄÒ³Ãæ¼äÌøתÊÇÎÒÃdz£Óöµ½µÄÒ»¼þÊÂ,µ±Ò»¸ö¸´ÔÓµÄÂß¼ÔÚÒ»¸öÒ³Ãæ·Å²»Ï·ֳɶþ¸ö»ò¶à¸öÒ³Ãæ´¦Àí¾ÍÐèÒªÔÚÒ³Ãæ¼äÌøת,ÓõÄ×î¶à»¹ÊÇÓû§µÄµÇ½°É.
ASP.NETÓõÄ×î¶àµÄÌøתÊÇResponse.Redirect,Õâ¸öÃüÁî¿ÉÒÔÖ±½Ó°ÑÇëÇóÖض¨Ïòµ½Ò»¸öÏà¶Ô»ò¾ø¶ÔµÄ·¾¶.Ëü»á°Ñµ±Ç°Ò³ÃæµÄµÄHttpÁ÷×è¶ÏÖ±½ÓÖض¨Ïòµ½ÐµÄU ......