ASP.NETÒ³Ãæ¶ÔÏó – Response
»ñÈ¡Óë¸Ã Page ¶ÔÏó¹ØÁªµÄ HttpResponse ¶ÔÏ󡣸öÔÏóʹÄúµÃÒÔ½« HTTP ÏìÓ¦Êý¾Ý·¢Ë͵½¿Í»§¶Ë£¬²¢°üº¬ÓйظÃÏìÓ¦µÄÐÅÏ¢¡£
Ò»¡¢HttpResponse Àà
·â×°À´×Ô ASP.NET ²Ù×÷µÄ HTTP ÏìÓ¦ÐÅÏ¢¡£
HttpResponse ÀàÐ͹«¿ªÒÔϳÉÔ±¡£
¹¹Ô캯Êý
Ãû³Æ
˵Ã÷
HttpResponse
»ù´¡½á¹¹¡£³õʼ»¯ HttpResponse ÀàµÄÐÂʵÀý¡£
·½·¨
Ãû³Æ
˵Ã÷
AddCacheDependency
½«Ò»×黺´æÒÀÀµÏîÓëÏìÓ¦¹ØÁª£¬ÕâÑù£¬Èç¹ûÏìÓ¦´æ´¢ÔÚÊä³ö»º´æÖв¢ÇÒÖ¸¶¨µÄÒÀÀµÏî·¢Éú±ä»¯£¬¾Í¿ÉÒÔʹ¸ÃÏìӦʧЧ¡£
AddCacheItemDependencies
ÒÑÖØÔØ¡£ ʹ»º´æÏìÓ¦µÄÓÐЧÐÔÒÀÀµÓÚ»º´æÖеÄÆäËûÏî¡£
AddCacheItemDependency
ʹ»º´æÏìÓ¦µÄÓÐЧÐÔÒÀÀµÓÚ»º´æÖеÄÆäËûÏî¡£
AddFileDependencies
ÒÑÖØÔØ¡£ ʹ»º´æÏìÓ¦µÄÓÐЧÐÔÒÀÀµÓÚ»º´æÖеÄÆäËûÏî¡£
AddFileDependency
½«µ¥¸öÎļþÃûÌí¼Óµ½ÎļþÃû¼¯ºÏÖУ¬µ±Ç°ÏìÓ¦ÒÀÀµÓڸü¯ºÏ¡£
AddHeader
½«Ò»¸ö HTTP ±êÍ·Ìí¼Óµ½Êä³öÁ÷¡£Ìṩ AddHeader ÊÇΪÁËÓë ASP µÄÏÈÇ°°æ±¾±£³Ö¼æÈÝ¡£
AppendCookie
»ù´¡½á¹¹¡£½«Ò»¸ö HTTP Cookie Ìí¼Óµ½ÄÚ²¿ Cookie ¼¯ºÏ¡£
AppendHeader
½« HTTP Í·Ìí¼Óµ½Êä³öÁ÷¡£
AppendToLog
½«×Ô¶¨ÒåÈÕÖ¾ÐÅÏ¢Ìí¼Óµ½ Internet ÐÅÏ¢·þÎñ (IIS) ÈÕÖ¾Îļþ¡£
ApplyAppPathModifier
Èç¹û»á»°Ê¹Óà Cookieless »á»°×´Ì¬£¬Ôò½«¸Ã»á»° ID Ìí¼Óµ½ÐéÄâ·¾¶ÖУ¬²¢·µ»Ø×éºÏ·¾¶¡£Èç¹û²»Ê¹Óà Cookieless »á»°×´Ì¬£¬Ôò ApplyAppPathModifier ·µ»ØÔʼµÄÐéÄâ·¾¶¡£
BinaryWrite
½«Ò»¸ö¶þ½øÖÆ×Ö·û´®Ð´Èë HTTP Êä³öÁ÷¡£
Clear
Çå³ý»º³åÇøÁ÷ÖеÄËùÓÐÄÚÈÝÊä³ö¡£
ClearContent
Çå³ý»º³åÇøÁ÷ÖеÄËùÓÐÄÚÈÝÊä³ö¡£
ClearHeaders
Çå³ý»º³åÇøÁ÷ÖеÄËùÓÐÍ·¡£
Close
¹Ø±Õµ½¿Í»§¶ËµÄÌ×½Ó×ÖÁ¬½Ó¡£
DisableKernelCache
½ûÓõ±Ç°ÏìÓ¦µÄÄں˻º´æ¡£
End
½«µ±Ç°ËùÓлº³åµÄÊä³ö·¢Ë͵½¿Í»§¶Ë£¬Í£Ö¹¸ÃÒ³µÄÖ´ÐУ¬²¢Òý·¢ EndRequest ʼþ¡£
Equals
È·¶¨Ö¸¶¨µÄ Object ÊÇ·ñµÈÓÚµ±Ç°µÄ Object¡£ £¨¼Ì³Ð×Ô Object¡££©
Finalize
ÔÊÐí Object ÔÚ“À¬»ø»ØÊÕ”»ØÊÕ Object ֮ǰ³¢ÊÔÊÍ·Å×ÊÔ´²¢Ö´ÐÐÆäËûÇåÀí²Ù×÷¡£ £¨¼Ì³Ð×Ô Object¡££©
Flush
Ïò¿Í»§¶Ë·¢Ë͵±Ç°ËùÓлº³åµÄÊä³ö¡£
GetHashCode
ÓÃ×÷Ìض¨ÀàÐ͵ĹþÏ£º¯Êý¡£ £¨¼Ì³Ð×Ô Object¡££©
GetType
»ñÈ¡µ±Ç°ÊµÀýµÄ Type¡£ £¨¼Ì³Ð×Ô Object¡££©
MemberwiseClone
´´½¨µ±Ç° Object µÄdz±í¸±±¾¡£ £¨¼Ì³Ð×Ô Object¡££©
Pics
½«Ò»¸ö HTTP PICS-Label ±êÍ·×·¼Óµ½Êä³öÁ÷
Ïà¹ØÎĵµ£º
ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......
Request¶ÔÏó¹¦ÄÜÊÇ´Ó¿Í»§¶ËµÃµ½Êý¾Ý£¬³£ÓõÄÈýÖÖÈ¡µÃÊý¾ÝµÄ·½·¨ÊÇ£ºRequest.Form¡¢Request.QueryString£¬Request¡£ÆäµÚÈýÖÖÊÇÇ°Á½ÖÖµÄÒ»¸öËõд£¬¿ÉÒÔÈ¡´úÇ°Á½ÖÖÇé¿ö¡£¶øÇ°Á½ÖÖÖ÷Òª¶ÔÓ¦µÄFormÌύʱµÄÁ½ÖÖ²»Í¬µÄÌá½»·½·¨£º·Ö±ðÊÇPost·½·¨ºÍGet·½·¨¡£
Request ¶ÔÏóµÄÊôÐԺͷ½·¨± ......
µ±Ò»¸öÍøÒ³ÖмÈÓÐÊý¾ÝÑéÖ¤¿Ø¼þ£¬ÓÖÓÐÒ»¸ö°´Å¥ÔÚµã»÷ʱ³öÏÖÌáʾ°´Å¥¡£
Èç¹ûÖ±½ÓÔÚÒ³ÃæµÄºǫ́´úÂëµÄPage_Loadº¯ÊýÖÐдÈëbtn.Attributes["Onclick"] = "return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')"£¬ÄÇôÑéÖ¤¿Ø¼þ¾Í»áʧЧ£¬ÒòΪÑéÖ¤¿Ø¼þÒ²ÊÇͨ¹ýjsʵÏֵģ¬ÕâÑùµÄ»°return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')ÏÈÓÚÔÀ´µÄjs´úÂëÖ´ÐУ¬Ì ......
ÉèÖÃÏÂÀ¿òµÄ³õʼֵ£º
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Text="Сѧ" Value="1"></asp:ListItem>
<asp:ListItem Text="ÖÐѧ" Value="2"></asp:ListItem& ......
² Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
² Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
² ......