ÇëÎÊÒ»¸öhtml´úÂëµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET
ÎÒµÄrepeaterÖÐÓÐÕâÑùÒ»ÐÐ
<td align="center" style="width:60px;">
<%#IsJoin(Eval("VolunteerID").ToString()) %> </td>
protected string IsJoin(string VolunteerID)
{
string Result = "";
if (RescueService.Instance.Exists(Request.QueryString["RescueID"], VolunteerID))
{
Result = "²»¼ÓÈë";
}
else
{
Result = "<a href='javascript:show('<%#Eval(\"name\") %>','<%#Eval(\"volunteerid\") %>')">֪ͨ</a>
}
return Result;
}
ÎÒÕâÑù·µ»ØÒ»¸öhtml´úÂë»á³ö´í£¬¿Í»§¶Ë²»ÄÜʶ±ð
µ«ÊÇÖ±½ÓÔÚǰ̨д
<td align="center" style="width:60px;">
<a href="javascript:show('<%#Eval("name") %>','<%#Eval("volunteerid") %>')">֪ͨ</a></td>
ÕâÑù¾ÍûÓÐÎÊÌ⣬ÎÒÏëÒªµÄÊǶÁ³öÊý¾Ýºó¸ù¾ÝÊý¾ÝÀ´ÏÔʾÄǸöÁ´½Ó»òÕßÏÔʾ"²»¼ÓÈë"
Result = "<a href='javascript:show('<%#Eval(\"name\") %>','<%#Eval(\"volunteerid\") %>')">֪ͨ</a>
=====================
×îºÃ½«ÄãµÄÊý¾ÝÖ±½ÓÌæ»»ºìÉ«²¿·Ö
Ïà¹ØÎÊ´ð£º
ÎÒÓõÄÊÇÁ¬½Ó³Ø×öµÄ£¬ÅäÁ¬½Ó³ØµÄ·½·¨Ó¦¸ÃûÓÐ´í£¬ÎªÊ²¾ÍÊdzöÏÖÕâÖÖÎÊÌâ
javax.servlet.ServletException: javax.naming.NameNotFoundException: No object bound to name java:comp/env/test
ÇëÎÊ´óÏÀÃÇÕâÊÇÔ ......
asp.netÅúÁ¿ÉÏ´«Í¼Æ¬×îºÃÓÐÔ´Â룬ÔÚÏߵȣ¡£¡£¡£¡£¡£¡£¡
Ô´ÂëºÜ³¤µÄ¡£
²Î¿¼
C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
......
¸÷λ´óÏÀ£¬ÎÒѧϰµÄÊÇASP.NET£¬ÏëÖªµÀÏà¹Ø¼¼ÊõÓÐÄÄЩ£¬¾ÍÏñJAVA EEÖÐÓÐstruct sping jsp severlet µÈ£¬ASP.NET»¹ÓÐÄÄЩЩÏà¹Ø¼¼Êõ¡£
http://topic.csdn.net/u/20090914/21/af27de99-f0f3-4cfd-9379-13764f8ec6b1.ht ......