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

»¹Ô­±à¼­³Éhtml¸ñʽµÄÎı¾ - .NET¼¼Êõ / ASP.NET

Ò»¶ÎÎÄ×Ö±»¼ÓÁËһЩhtmlµÄ¸ñʽ£¬Ôõô»¹Ô­£¿£¿
±ÈÈç:<p>¸½½üµÄË®Àû¾Ö</p>
ÎÒÏÖÔÚÏëÒªµÃµ½¡°¸½½üµÄË®Àû¾Ö¡±
Ê×ÏÈ˵һÏ£¬¸ñʽÊÇδ֪µÄ¡£
×Ô¼º¶¥

JScript code:
//js:
//·Åµ½<body>.........</body>ºóÃæ
<script type="text/javascript">
alert(document.body.innerText);
//»òÕßÊÇÄãÖ¸¶¨µÄÇøÓòdocument.getElementById("yourDiv").innerText
</script>


×î½üÕýÔÚѧϰHTMLÓïÑÔ£¬¶¥Ò»¸ö£¡

ÒýÓÃ
JScript code
//js:
//·Åµ½<body>.........</body>ºóÃæ
<script type="text/javascript">
alert(document.body.innerText);
//»òÕßÊÇÄãÖ¸¶¨µÄÇøÓòdocument.getElementById("yourDiv").innerText
</script>

Õâ¸öÊý¾ÝÊÇÎÒ´Óºǫ́¶ÁÈ¡Êý¾Ý¿âµÄ£¬ÔõôÓÃ


²»ÄÜÓÃalert£¨£©£»ÕâÑùµÄ
ÎÒ»¹Òª¶ÔÊý¾Ý½øÐд¦ÀíµÄ


ÓÃÕýÔò°É

ÓÃÕâ¸öÊÔÒ»ÏÂhtml¾ÍÊÇÄãºǫ́¶ÁÈ¡Êý¾Ý¿âµÄÊý¾Ý
C# code:
string temp = Regex.Replace(html, "<[^>]*>", "");


ÓÃÕýÔò±í´ïʽ°É¡£ÒªÔõôʲôʱºòÔÙ·ÖÇåÁËÄĸö±êǩѽ

C# code:

s


Ïà¹ØÎÊ´ð£º

ASP¡£netÖÐÔõôµ÷ÓÃCom+×齨 - .NET¼¼Êõ / ASP.NET

C# code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
nam ......

AJAX ºǫ́Ôõôȡ²»µ½Ö± - .NET¼¼Êõ / ASP.NET

´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
  var xmlhttp;
  if (window.ActiveXObject) {
  //IE
  try {
  ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......

·ÖÏíCSSµÄÓÅ»¯¼¼ÇÉ - Web ¿ª·¢ / HTML(CSS)

ÓÃcssËõд ʹÓÃËõд¿ÉÒÔ°ïÖú¼õÉÙÄãCSSÎļþµÄ´óС£¬¸ü¼ÓÈÝÒ×ÔĶÁ¡£cssËõдµÄÖ÷Òª¹æÔòÇë²Î¿´¡¶³£ÓÃcssËõдÓï·¨×ܽᡷ£¬ÕâÀï¾Í²»Õ¹¿ªÃèÊö¡£
¶þ.Ã÷È·¶¨Ò嵥룬³ý·ÇֵΪ0
Íü¼Ç¶¨Òå³ß´çµÄµ¥Î»ÊÇCSSÐÂÊÖÆÕ±éµÄ´íÎó¡£ÔÚHT ......

asp.net ÏÂÔØ - .NET¼¼Êõ / ASP.NET

sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")

ÒýÓÃ
Response.Redirect( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ