Asp.net webÒ³Ãæ´æ´¢ÁÙʱÊý¾Ý - .NET¼¼Êõ / ASP.NET
Êý¾ÝÁÐÓÐ20¶àÐУ¬ÎÒÏÖÔÚ×öµÄÊÇ°ïËü±£´æÔÚSession[DataTble]À¿ÉÕâ¸öDataTable ÀïµÄÊý¾ÝÊÇÓÉÓû§×Ô¶¨µÄ1ÐÐ ÖÁ ¼¸Ê®ÐУ¬Èç¹ûÊý¾Ý¶àÁË Ó¦¸Ã±È½ÏÀË·Ñ·þÎñÆ÷×ÊÔ´£¬¿ÉÓÃViewStateµÄ»° HTML ÀïÓÖ»áÉú³ÉºÜ¶àÐÅÏ¢£¬Ó°ÏìÐÔÄÜÎÊÌ⣬ÇëÎÊ»¹ÓбðµÄʲô·½·¨Â𣿠·Åµ½txtÎı¾ÎļþÀïµÄ»°ÈÝÒ×Êý¾ÝÉϳö´í
ÊÀ½çÉÏûÓÐÍêÃÀµÄ¶«Î÷ ²Å¼¸Ê®ÐÐ ¾Í²»ÓÃÅÂÀ²~ ¿ÉÒÔѧѧasp.netµÄÅ£±ÆÂôµãÖ®Ò»: »º´æ ÎÒÒ²ÊÇ×î½ü²Åѧ»áµÄÒýÓà Êý¾ÝÁÐÓÐ20¶àÐУ¬ÎÒÏÖÔÚ×öµÄÊÇ°ïËü±£´æÔÚSession[DataTble]À¿ÉÕâ¸öDataTable ÀïµÄÊý¾ÝÊÇÓÉÓû§×Ô¶¨µÄ1ÐÐ ÖÁ ¼¸Ê®ÐУ¬Èç¹ûÊý¾Ý¶àÁË Ó¦¸Ã±È½ÏÀË·Ñ·þÎñÆ÷×ÊÔ´£¬¿ÉÓÃViewStateµÄ»° HTML ÀïÓÖ»áÉú³ÉºÜ¶àÐÅÏ¢£¬Ó°ÏìÐÔÄÜÎÊÌ⣬ÇëÎÊ»¹ÓбðµÄʲô·½·¨Â𣿠·Åµ½txtÎı¾ÎļþÀïµÄ»°ÈÝÒ×Êý¾ÝÉϳö´í »¹ÊÇ·ÅÔÚviewstateÖаÉ.ÒýÓà ²Å¼¸Ê®ÐÐ ¾Í²»ÓÃÅÂÀ²~ ¿ÉÒÔѧѧasp.netµÄÅ£±ÆÂôµãÖ®Ò»: »º´æ ÎÒÒ²ÊÇ×î½ü²Åѧ»áµÄ »º´æ²»ÊÇÒ»ÑùÊÇ´æÔÚ·þÎñÆ÷ÉÏ£¬²»ÊǺÍSessionÒ»ÑùµÄ viewstate°ÉÒýÓà ÒýÓÃÂ¥Ö÷ yangjie828 µÄ»Ø¸´: Êý¾ÝÁÐÓÐ20¶àÐУ¬ÎÒÏÖÔÚ×öµÄÊÇ°ïËü±£´æÔÚSession[DataTble]À¿ÉÕâ¸öDataTable ÀïµÄÊý¾ÝÊÇÓÉÓû§×Ô¶¨µÄ1ÐÐ ÖÁ ¼¸Ê®ÐУ¬Èç¹ûÊý¾Ý¶àÁË Ó¦¸Ã±È½ÏÀË·Ñ·þÎñÆ÷×ÊÔ´£¬¿ÉÓÃViewStateµÄ»° HTML ÀïÓÖ»áÉú³ÉºÜ¶àÐÅÏ¢£¬Ó°ÏìÐÔÄÜÎÊÌ⣬ÇëÎÊ»¹ÓбðµÄʲô·½·¨Â𣿠·Åµ½txtÎı¾ÎļþÀïµÄ»°ÈÝÒ×Êý¾ÝÉϳö´í »¹ÊÇ·ÅÔÚviewstateÖаɡ¡ viewstate Ö»ÒªËæ±ã·ÅµãÊý¾Ý£¬Èç¹û¼¸Ê®ÐÐ html Ò³ÃæÀï»áÉú³ÉµÄ´úÂëÆðÂ뼸°ÙÉÏǧÌõ£¬Êý¾Ý¶àÁË µçÄÔÐÔÄܿ϶¨²»ºÃ
Ïà¹ØÎÊ´ð£º
C# code: SqlConnection conn = CsDB.sqlcon(); SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬ ¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£ ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£ ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£ ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿ PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿ Response.Redirect("test.jpg") ÒýÓà Response.Redirect( ......