C# ½ØÈ¡html´úÂë - .NET¼¼Êõ / ASP.NET
ÎÒ´Óºǫ́»ñÈ¡ÁËϱßÒ»¶Îhtml´úÂ뵫ÎÒÏÖÔÚÏë°É<span></span>ÀïµÄÄÚÈݹýÂËÈ¥µôËÄܸø¸öºÃµÄ£¬¼òµ¥µÄ·½·¨
¶àл¸÷λÁË¡¡
<html>
<body>
<div>
<span>
<table class="tableblue" width="100%">
<tr>
<td style="width: 10%; text-align: right">
to
</td>
<td style="width: 90%">
<input name="ucMember$txtInputMember" type="text" id="ucMember_txtInputMember" maxlength="2000" class="con2 EmployeeMultiSelect" style="width:75%;" />
</td>
</tr>
<tr>
<td style="width: 10%; text-align: right">
cc
</td>
<td style="width: 90%">
<input name="ucMemberCc$txtInputMember" type="text" id="ucMemberCc_txtInputMember" maxlength="2000" class="con2 EmployeeMultiSelect" style="width:75%;" />
Ïà¹ØÎÊ´ð£º
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
asp.netÅúÁ¿ÉÏ´«Í¼Æ¬×îºÃÓÐÔ´Â룬ÔÚÏߵȣ¡£¡£¡£¡£¡£¡£¡
Ô´ÂëºÜ³¤µÄ¡£
²Î¿¼
C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
......
±¾ÈËÊDzËÄñÒ»¸ö£¬Æ½Ê±Òª×öÉúÒ⣬µ«ÊÇÕÒÁ˺ܶàÈË×öÍøÕ¾£¬¾ù±»ÆÁË¡£×öµÃ²»Èý²»ËÄ£¬ÏÖÔÚ¾öÐÄ×Ô¼ºÀ´×öÒ»¸ö£¬ÒÑѧϰASP.NETÏà¹ØµÄÍøÒ³ÖÆ×÷֪ʶ£¬ÓÐDW»ù´¡£¬¿ÉÒÔ˵ÊÇÄ¿Ç°Ö»ÓÐÀíÂÛ֪ʶ£¬µ«ÊÇÔÚʵ¼Ê¾ßÌå²Ù×÷µÄʱºò£¬×ÜÊÇÓöµ ......
<span id="Label1">Èç¹ûÄÜ¿´µ½Õâ¸ö±êÇ© ˵Ã÷ÎÒÃÇÒѾÄÜ´ÓHTML Ò³ÃæÉÏ»ñÈ¡ÁËÕâ¸öÔªËؿؼþ´«µÝµ½SilverlightÓ¦ÓóÌÐòÖÐ </span>
<br />
<input type="sub ......
ÔÚ·¢±íÆÀÂÛʱ ¹ýÂË ÈçºÎ£º<br/> <hr/> Ë«ÒýºÅ µ¥ÒýºÅ »¹ÓÐÆäËû µÈ Óкõķ½·¨¸æËßһϠлл
.replace(/<\w+[^>]*>/g,"").replace(/'/g,"''")
½«µ¥ÒýºÅ»»³É2¸ö ......