asp.netÖÐÓйØÊý¾Ý°ó¶¨µÄÎÊÌâ
asp.net ÖÐÊý¾Ý¿âÖÐÓÐÒ»´ó¶ÎÎÄ×ÖÄÚÈÝ£¬Æä×Ó¶ÎΪnewscontent ÏÔʾ³öÀ´¡£ÓÃitemTemplate ÖеÄlable¿Ø¼þ°ó¶¨ÏÔʾ
µ«Êý¾Ý¿âÖÐÄÚÈÝÏÔʾÔÚÍøÒ³Öв»»á»»ÐС£¹Ê¸ÄÓÃ×Ô¶¨ÒåÏÔʾ·½Ê½ÄÚÈÝΪReplace(Eval("newscontent"),vbcrlf," <br>")ÔÙÏÔʾ
½á¹ûä¯ÀÀÆ÷±¨´í˵
<asp:TemplateField HeaderText="ÄÚÈÝ" SortExpression="newscontent">
ÐÐ 45: <ItemTemplate>
ÐÐ 46: <asp:Label ID="Label1" runat="server"
ÐÐ 47: Text=' <%# Replace(Eval("newscontent", vbcrlf," <br>" %>'> </asp:Label>
ÐÐ 48: </ItemTemplate>
c:\Documents and Settings\860628\My Documents\Visual Studio 2008\WebSites\WebSite4\newsDetail.aspx(46,172): error CS1026: Ó¦ÊäÈë )
Çë¸ßÊÖÖ¸½ÌÈçºÎÔÚÍøÒ³ÖÐÓÃÊý¾Ý°ó¶¨ÏÔʾ´ó¶ÎÎÄ×Ö
ÔÙÊÇÔÚvs2008ÖÐÈçºÎÉèÖÃʹÔÚÔËÐÐʱ×ÜÏß³öÏÖ¿Õ°×ÍøÒ³£¬É¾³ýºóÔÙÏÔʾ×Ô¼ºËù±àдµÄÄ¿±êÍøÒ³£¨ÎÒÓõÄÊÇÎļþϵͳc#£©
ÔÚLabelÖÐÊÇÎÞ·¨»»ÐеÄ.
Òª²»,Äã»»³ÉDiv°É
labelÖÐд <br>ÊǻỻÐе쬯äËûhtml±êǩҳÊÇÓÐЧµÄ
ÏÔʾ´ó¶ÎÎÄ×Ö£¬Ã»ÓбØÒªÓøögridviewÀ´°ó¶¨°¡
¿´´úÂëµÄ»°£¬ÄãµÄ <%# Replace(Eval("newscontent", vb
Ïà¹ØÎÊ´ð£º
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......
½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡
¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡
Ö±½ÓÖ´ÐоÍÐÐÁË
exec ......
¹ØÓÚasp.net md5 32λ¼ÓÃܽâÃÜ
ÓÐûÓÐÈË¿ÉÒÔд¸öÀà¡£
²¢Ïêϸ½âÊÍһϣ¬±¾È˺ܲ»Àí½â32λmd5
C# code:
public string md5(string str,int code)
2{
3 if(code==16) //16λMD5¼ÓÃÜ£¨È¡32λ¼ÓÃܵÄ9~25× ......
ÓÉÓÚasp.netûÓÐȨÏÞÖ´ÐÐһЩ²Ù×÷,¶øÕâЩ²Ù×÷ÔÚ·þÎñÆ÷±¾µØÊÇ¿ÉÒÔµÄ,ËùÒÔÎÒÏëÔÚ·þÎñÆ÷ÉÏ·ÅÒ»¸öwinform³ÌÐòÓÃÓÚÖ´ÐÐÕâЩ²Ù×÷,È»ºóͨ¹ýasp.netÀ´Æô¶¯,Çë¸÷λ´óÏÀ´Í½Ì,¸Ð¼¤²»¾¡!
Processµ÷ÓÃexeÎļþ
Process p = new P ......