ÇëÎÊ asp.netÖÐ<%# %>Õâ¸ö¶«Î÷ÔõôʹÓÃ
<asp:Label runat="server" ID="teachername" Text="abc" ForeColor="Blue" Font-Bold="True"> </asp:Label> ÀÏʦ£¬»¶ÓµÇ½½ÌʦÖ÷Ò³ <br />
ÎÒÒª»ñÈ¡Õâ¸ö¿Ø¼þÀïÃæµÄTextÊôÐÔµÄÖµ£¬´úÂëÒªÔõôд£¿
ÄãҪǰ̨»¹ÊǺǫ́ȡֵ°¡£¿
ºǫֱ́½Ó teachername.text ¾Í¿ÉÒÔÁËѽ
²»Ðа¡ ÎÒÔËÐкó¾Í¿´µ½ÁË´íÎóÌáʾ ²é¿´Ô´Îļþ½á¹ûÊÇÕâÑùµÄ
<iframe src="teacher_viewdb.aspx?teachername=" style="width:100%; height:594px;" marginwidth=0 marginheight=0 frameborder=1> </iframe>
teachernameºóÃæµÄÖµÊÇ¿ÕµÄ Ò²¾ÍÊÇ˵Ëû¶Á²»³öÀ´
ÎÒ´úÂëÊÇÕâÑùдµÄ
<iframe src="teacher_viewdb.aspx?teachername= <%#teachername.Text %>" style="width:100%; height:594px;" marginwidth=0 marginheight=0 frameborder=1> </iframe>
ÓÐûÓдíÄØ£¿
http://blog.csdn.net/claymore1114/archive/2010/01/06/5144372.aspx
<iframe src="teacher_viewdb.aspx?teachername= <%#teachername.Text %>" style="width:100%; height:594px;" marginwidth=0 marginheight=0 frameborder=1> </iframe>
<%#Eval("")%>°ó¶¨Êý¾Ý¿âµÄÖµ
teachername.TextÖ»ÄÜÔÚºǫ́ȡµ½Öµ
Èç¹ûÔÚǰ̨µÄ»°ÓÃJS
document.getElementByID("teachername").value
±à³Ì¿¿ÂÒÊÔÂð£¿Äã×Ô¼º¶¼Ëµ²»³öÀíÓÉ£¬ÎÒҲûÓа취ÁË¡£
Õâ¸öÓ¦¸Ã²»Ëãǰ̨°É »¹ÊÇÔÚºǫ́±àÒëÍê³Éºó´«µ½Ç°Ì¨À´Ö´ÐеÄ
Ïà¹ØÎÊ´ð£º
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
µ÷ÕûÁËÕâÀÄÇÀï³öÎÊÌâ¡£
ÓÐûÓÐʲôºÃµÄ·½·¨£¬Ïñµ÷Õû¶Ô»°¿òÒ»Ñù£¿£¿£¿£¿
ÕÒ¸öרÃÅ×öÒ³ÃæµÄ
ÔÚdreamweaverÀïµ÷¡£¡£¡£Ò²¿ÉÒÔÖ±½Ó¿ØÖÆHTML´úÂë
ȷʵʹ¿à ¸ÐͬÉíÊÜѽ
¹þ¹þ ¼á¾ö·¹ý¡£
ÓÃDW°É£¬VS¸ãÉè¼Æ ......
¾²Ì¬Ä£°å£º
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/ ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......