Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net·ÖÒ³ÎÊÌâ

select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Product) where productid=34
·ÖÒ³¾ÍʧЧÁË
Êý¾ÝÈ«ÊÇǰ12Ìõ
ÊÇÓÃʲô¿Ø¼þ·ÖÒ³ÏÔʾÊý¾Ý,ÓÐЩ¿Ø¼þ²»ÊÇ×Ô´ø·ÖÒ³¹¦ÄÜô.

¸Ä³É
SQL code:
select top 12 * from Product where [id] not in (select top 12 [id] from Product where productid=34) and productid=34


ÒýÓÃ
¸Ä³É
SQL codeselecttop12*from Productwhere[id]notin (selecttop12[id]from Productwhere productid=34)and productid=34

¶¥Õâ¸ö
Â¥Ö÷µÄSQLÓï¾äÀïÃæÉÙÁ˸öÌõ¼þ

лÁË ½â¾öÁË ºÇºÇ ȷʵÊÇÉÙÁ˸öÌõ¼þ

select top 12 * from Product where [id] not in (select top 12 [id] from Product) where productid=34,Ó¦¸Ã¿¼ÂÇÖ´ÐÐ˳Ðò¡£
SQL code:
select top 12 * from Product where [id] not in (select top 12 [id] from Product) and productid=34

»òÕßSQL code:
select top 12 * from Product where [id] not in (select top 12 [id] from Product where productid=34£©



Ïà¹ØÎÊ´ð£º

C# asp.netÖеÄlabelÏÔʾÎÊÌâ

ÎÒÓÃC#±àasp.netÍøÒ³¡£ÔÚÒ»¸ö°´Å¥button1ÖУ¬ÓÐÒ»¶Î´úÂëÔËÐÐʱ¼ä½Ï³¤£¬ÓÚÊÇÎÒÏëÔÚ°´Å¥°´ÏÂÖ®ºó£¬ÓÃÒ»¸ölabel1À´ÏÔʾһС¶Î×Ö·û£ºlabel1.text="ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."£¬È»ºóÔÚbutton1´úÂëÖ´ÐеÄ×îºóÒ»Ðдú ......

asp.net ÖÐͼƬƴ½Ó

ÎÒÔÚasp.netÖÐÎÒÒª½«ËÄÕÅ»òËÄÕÅÒÔϵÄͼƬƴÔÚÒ»Æð£¬ÈçºÎʵÏÖ£¿Í¼Æ¬ÊÇÎÒ´ÓÊý¾Ý¿âÖжÁ³öÀ´µÄ¶þ½øÖÆ¡£µ¥ÕŶÁ³öÀ´µÄ´úÂëÈçÏ£ºC# code:
DataHelper dh=new DataHelper();
System.Drawing.Image image = dh.g ......

ÔÚasp.netÖÐ ÔõÑùÈ¡µÃFileUploadÎļþµÄÍêÕû·¾¶

ÈçÌ⣡
FileUpload1.PostedFile.FileName

ÎÒÕâÑùдÁË  µ«ÊÇ»¹ÊÇ»ñµÃµÄÊÇÒ»¸öÎļþµÄÃû³Æ£¬FileUpload1.FileName Õâ¸öÒ²ÊÇÒ»Ñù£¡

FileUpload1.PostedFile.FileName

IE ÎÊÌâ

¹¤¾ß-internetÑ¡Ïî-°²È«- ......

asp.net±àÒë´íÎó-±»±àÒëµÄÎļþλÖôíÎó

ÓÉÓÚÒ»´ÎÔÚdebugģʽÏÂÐÞ¸ÄÁËasp.netÖÐÒ³ÃæµÄ´úÂ룬(ÎÒÊÇÓÃIIS½øÐе÷ÊÔµÄ)²¢½øÐÐÁËÏîÄ¿ÎļþµÄÌæ»»£¬Ò²²»ÖªµÀÊDz»ÊÇÕâ¸öÔ­Òò¡£µ¼ÖÂÎÒÔÚÏÂÒ»´Î±àÒëµÄʱºò£¬Ìáʾ³ö´í£º/xxx/xxx.aspx , /xxx/xxx.cs ÎļþÕÒ²»µ½¡£
ÎÒ¾ ......

ASP.NET ¸üÐÂÓï¾ä

  cmd.CommandText = "update detailesid set num=num+1 where id=" + id + " and detailesid= "+ RadioButtonList1.SelectedValue.ToString();
cmd.ExecuteNonQuery();
ÎÒ×öÁËÒ»¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ