Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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´úÂëÊÇ·ñ¿ÉÒÔ±£ÃÜ

ÀýÈçÓÐÁ½¶Î´úÂë
FirstPageCodeBehind.aspx
HTML code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FirstPageCodeBehind.aspx.cs" Inherits="FirstPag ......

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

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

asp.netÖÐ×Ô¶¨ÒåÀà¿âµÄÎÊÌâ

Èçͼ

ÎÒµÄÒ»¸öSolutionÀï°üº¬Á½¸öProject£¬Ò»¸öÊÇC#Àà¿â¹¤³Ì£¬Ò»¸öÊÇASP.NETÓ¦Óã¬Á½¸ö¹¤³Ì¶¼ÊÇͨ¹ýLinq to SqlÀ´²Ù×÷Êý¾Ý¿â£¬ÏÖÔÚµÄÎÊÌâÊÇÔÚ¸ø¿Í»§Ê¹ÓõÄʱºò£¬Ã»·¨Áé»îÅäÖÃSql·þÎñÆ÷µÄÐÅÏ¢£¬²éÁËÏ£¬Ê¹ÓÃDe ......

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

ÈçÌ⣡
FileUpload1.PostedFile.FileName

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

FileUpload1.PostedFile.FileName

IE ÎÊÌâ

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

asp.net

asp.netÔõÑùÁ¬½ÓÊý¾Ý¿â°¡£¿»¹ÐèʹÓÃVB.NET±à³Ì£¿
¿´¿´ADO.NET°É£¬ÕâÊǺËÐÄ

ÔÚWeb.configÖÐдÁ¬½Ó×Ö·û´®£¬ÄãÔÚÀàÀïдҲÐÐ

  ллÀ²£¬ÎһῴµÄ¡£

²»ÐèʹÓÃVB.NET±à³Ì£¬ÐèÒªADO.net

·½·¨Óкܶ࣬×Ô¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ