Ò»¸öASP´«ÖµµÄÎÊÌâ
ÕâÀïÊÇGridView°ó¶¨µÄÒ»¸öÄ£°å, ÎÒÏëͨ¹ýÕâÀïµÄ "²é¿´ÏêÇé", Ìøתµ½Ò»¸ö°üº¬DetailsView
µÄÒ³Ãæ. È»ºó¾Í»áÏÔʾÏàÓ¦µÄÐÅÏ¢.
°üº¬DetailsViewµÄÒ³Ãæ¸ù¾ÝIDÖµ°ó¶¨Êý¾Ý
°üº¬GridViewµÄÒ³ÃæµÄµÚÒ»ÁÐÊÇID,ÒѾÒþ²Ø.
HTML code:
<asp:TemplateField HeaderText="ÐÞ¸ÄÓû§">
<ItemTemplate>
<asp:LinkButton ID="lbtnInfo" runat="server" OnClick="LinkButton1_Update" PostBackUrl="~/DetailsUser.aspx">²é¿´ÏêÇé</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
Ч¹ûÈçÏÂ:
HTML code:
http://localhost:3335/DetailsUser.aspx?ID=<%#Eval(\"ID\") %>
¡°/¡±Ó¦ÓóÌÐòÖеķþÎñÆ÷´íÎó¡£
--------------------------------------------------------------------------------
ÊäÈë×Ö·û´®µÄ¸ñʽ²»ÕýÈ·¡£
˵Ã÷: Ö´Ðе±Ç° Web ÇëÇóÆڼ䣬³öÏÖδ´¦ÀíµÄÒì³£¡£Çë¼ì²é¶ÑÕ»¸ú×ÙÐÅÏ¢£¬ÒÔÁ˽âÓйظôíÎóÒÔ¼°´úÂëÖе¼Ö´íÎóµÄ³ö´¦µÄÏêϸÐÅÏ¢¡£
Òì³£ÏêϸÐÅÏ¢: System.FormatException: ÊäÈë×Ö·û´®µÄ¸ñʽ²»ÕýÈ·¡£
Ô´´íÎó:
Ö´Ðе±Ç° Web ÇëÇóÆÚ¼äÉú³ÉÁËδ´¦ÀíµÄÒì³£¡£¿ÉÒÔʹÓÃÏÂÃæµÄÒì³£¶ÑÕ»¸ú×ÙÐÅϢȷ¶¨ÓйØÒì³£ÔÒòºÍ·¢ÉúλÖ
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
Microsoft JET Database Engine '80040e07'
±ê×¼±í´ïʽÖÐÊý¾ÝÀàÐͲ»Æ¥Åä¡£
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......
×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......
ASPÎļþÀÏÊDZ»È˲åÈë´úÂ룬ºÜ¶àÀ¬»øµØÖ·±»¹ÒÉÏÈ¥£¬ËÄÜ°ï°ïÎÒ£¿
¸æËßÎÒ©¶´ÔÚÄÄÀÎÒµÄQQ 33186001
¹Ø±ÕÍøÕ¾µÄfso¡£ÓõÄʱºòÔÚ¿ª¿ª¾ÍÊÇÀ²¡£
ÏÖÔÚµÄÐéÄâÖ÷»úÓɶÁдȨÏÞ£¬ÉèΪֻ¶Á¼´¿É¡£×Ô¼ºÓÃÓÃftpµÄʱºòÔÚ¿ª¿ª¡£ ......