¹ØÓÚASP.NETµÄ¹¹½¨ - .NET¼¼Êõ / ASP.NET
ÎÒÔÚ±àдע²áÒ³ÃæµÄʱºò·ÅÁË2¸ö°´Å¥£¬Ò»¸öÊÇ×¢²á£¬Ò»¸öÖØÖ㬵«ÊÇÎÒÔÚË«»÷×¢²á°´Å¥±àдע²áµÄºǫ́´úÂëʱ×ÜÊÇ»áÌø×ªµ½Ê×Ò³µÄaspx.csÀïÃæÈ¥±àд´úÂ룬˵ÊǸð´Å¥Ìí¼ÓÁËÒýÓã¬ÕâÊÇÔõô»ØÊÂÇ飿ҪÔõô½â¾ö²ÅÄÜÔÚ×¢²áÒ³ÃæµÄaspx.csÀïÃæ±àдע²á°´Å¥µÄ´úÂ룿
ÁíÍâÒ»¸öÎÒÓÃdatalist°ó¶¨Êý¾Ý£¬ÀÏÊǻᱨ´í£ºÉÏÏÂÎÄûÓÐÎÒ¶¨ÒåµÄdatalisµÄID£¬ÎÒ»»³ÉÁËdatagridÒ²ÊÇͬÑùµÄÎÊÌâ
ÎÒÊÇÐÂÊÖû¶àÉÙ·Ö£¬Íû´ó¼Ò°ï°ïÎÒ£¬¼±×Ž»¸å
ÎÒÒѾÔÚHTMLÀïÃæÐ´¹ýÁË
»¹ÊÇÕÒ²»µ½
Ïà¹ØÎÊ´ð£º
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔØ¶Ô»°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")
ÒýÓÃ
Response.Redirect( ......
½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡
¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡
Ö±½ÓÖ´ÐоÍÐÐÁË
exec ......
¸÷λºÃ£¬ÎÒ¸Õ°ÑÒ»¸öASPÍøÕ¾ÉèÖúÃÁË£¬Ò²ÄÜÕý³£·ÃÎÊ¡£µ«ÊÇÔÚÎÒ±¾»úÉϲ»ÄÜ´ò¿ªadmin\login.asp,ËùÒÔÎÞ·¨ÊµÏÖºǫ́¹ÜÀí¡££¨´íÎóÌáʾÎÞ·¨ÕÒµ½ÍøÒ³£¬´úÂë404£¬ÎҵIJÙ×÷ϵͳÊÇwin2000 server)
µ«ÊÇÆæ¹ÖµÄÊÇÔÚ¾ÖÓòÍøµÄÆäËû» ......