Ò»¸ö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 ÇëÇóÆÚ¼äÉú³ÉÁËδ´¦ÀíµÄÒì³£¡£¿ÉÒÔʹÓÃÏÂÃæµÄÒì³£¶ÑÕ»¸ú×ÙÐÅϢȷ¶¨ÓйØÒì³£ÔÒòºÍ·¢ÉúλÖ
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
´ó¼ÒºÃ£¬ÎÒÏÖÔÚÓÐÒ»¸öÓÃaspдµÄÁÄÌìÊÒ£¬ÏÖÔÚµÄÏëÌí¼ÓÒ»¸ö¹¦ÄÜ£¬¾ÍÊǵ±ÓÐÈËÉÏÏßµÄʱºò£¬·¢³öÌáʾ£¬±ÈÈçÉùÒôÏìһϣ¬ÏÖÔÚÏëÓÃjavaʵÏÖÕâ¸ö¹¦ÄÜ£¬ÇëÎÊ´ó¼ÒÔõôʵÏÖ£¿
ллÁË£¬ÎÒ»á¼Ó·ÖµÄ
aspºÍjavaÕûºÏµ½Ò»ÆðÈ¥£¿ºÎ±Ø ......
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")
ÒýÓÃ
Response.Redirect( ......
×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......
asp.netÖе±²»Í¬µØ·½µÄÓû§´ò¿ªÍøҳʱÔõôÔÚÎı¾¿òÖÐÏÔʾËûµÄËùÔÚµØ,¾ÍÏñÉêÇëQQʱ£¬Ñ¡ÔñËùÔÚµØÒ»Ñù.
¸ù¾ÝIPµØÖ·Åжϣ¬ÍøÉÏÓиù¾ÝIP·µ»ØµØÇøµÄWebserivce£¬µ÷ÓþͿÉÒÔÁË
ÒýÓÃ
¸ù¾ÝIPµØÖ·Åжϣ¬ÍøÉÏÓиù¾ÝIP·µ»Øµ ......