Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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£©



Ïà¹ØÎÊ´ð£º

asp.netǶÌ×Ò»¸öaspÒ³Ãæºó³öÏÖµÄÎÊÌâ

ÎÒÔÚÒ»¸öASPXÒ³ÃæÖÐÓà <!-- #include file="top.asp"-->ǶÌ×ÁËÒ»¸öaspÒ³Ãæ£¬µ«ÔÚµã»÷°´Å¥Ìá½»±íµ¥µÄʱºòûÓÐÈκη´Ó¦£¬ÊDz»ÊÇÁ½¸öFORMµÄÔ­ÒòÔì³ÉµÄ£¬top.aspÀïÃæÒ²ÓÐÒ»¸öform£¬°ÑǶÌ×È¥µôµÄ»°£¬ÔËÐÐ ......

asp.netÁ¬mysqlÊý¾Ý¿âµÄÎÊÌ⣿

C# code:
string sql = "select * from userinfo where uname = '" + uname + "' and upassword = '" + upassword + "'";
//ºÍ
string sql = "select * from userinfo where ......

asp.net ÖÐÈçºÎʵÏÖ×óÓÒÐÍ¿ò¼Ü

asp.net ÖÐÈçºÎʵÏÖ×óÓÒÐÍ¿ò¼Ü
¾ÍÊǵã×ó±ßÌø×ªµ½Óұ߶԰ɣ¬iframe¿ò¼Ü

ÒýÓÃ
¾ÍÊǵã×ó±ßÌø×ªµ½Óұ߶԰ɣ¬iframe¿ò¼Ü


¾Í¸úHTMLÒ»ÑùµÄ£¬Òª²»¾ÍÓÃmasterÄ£°åËãÁË

Òâ˼ÊÇÒ»¸öÆÁÄ»2¸öä¯ÀÀÆ÷´°¿Ú£¿Ã»À ......

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

ÈçÌ⣡
FileUpload1.PostedFile.FileName

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

FileUpload1.PostedFile.FileName

IE ÎÊÌâ

¹¤¾ß-internetÑ¡Ïî-°²È«- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ