Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : asp.net

ASP.NET ¸üÐÂÓï¾ä

  cmd.CommandText = "update detailesid set num=num+1 where id=" + id + " and detailesid= "+ RadioButtonList1.SelectedValue.ToString();
cmd.ExecuteNonQuery();
ÎÒ×öÁËÒ»¸öͶƱ³ÌÐò£¬Õâ¸öÊÇÔÚBUTTONÀïµÄ´úÂë
ÎÒÔËÐÐÒ»ÏÂ˵ÎÒ = ¸½½üÓдíÎó£¬ÎÒÏëÈôó¼Ò¿´¿´Õû¸ö¸üÐÂÓï¾ä¶ÔÂð£¿
......

asp.net

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

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

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

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

·½·¨Óкܶ࣬×Ô¼ºgoogleһϰÉ

ado.net

ado.net£¬Õâ¸öÒªÊì͸¡£

linq to sql? entity framework?

ÔÚÀàÀïÖ±½Óд£ ......

asp.net

ÐÂÊÖÇó¾È. ÌåÁÂÇóÖªÖ®ÐÄ¡£¡£¡£Ð»Ð»£¡
asp ´úÂëÒ³Ã棺
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. ......

asp.netÍøÕ¾ÎÊÌâ

ÎÒ×öÁËÒ»¸öÍøÕ¾·ÅÔÚ·þÎñÆ÷ÉÏ£¬Ç°¼¸Ì춼¿ÉÒÔ·ÃÎʲ¢ÇÒËٶȻ¹ÐУ¬Ôõôµ½½ñÌì·ÃÎÊËÙ¶ÈÌØÂý£¬µ½×îºÃ¶¼·ÃÎʲ»ÁËÀ²¡£Çë¸ßÊÖÖ¸½Ì
ÄÇÒ²Ö»ÄÜ˵·þÎñÆ÷µÄÎÊÌâ¡£

Èç¹û²»ÊÇÔÚ·þÎñÆ÷ÉÏ  ËÙ¶ÈÔõôÑùÄØ


Ò²ÐíÊÇÄãµÄ·þÎñÆ÷µÄÎÊÌâ°É£¬»¹ÓоÍÊÇÍøÂçµÄÎÊÌâ¡£Õâ¸öÓÐÌ«¶àÖֵĿÉÄÜ£¬ÒªÊÇÓÐʱ¼äÄãÒ²¿ÉÒÔÓÅ»¯Ò»Ï³ÌÐò¡£

Ò²ÓпÉÄÜÊdz ......

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Ìõ
ÊÇÓÃʲô¿Ø¼þ·ÖÒ³ÏÔʾÊý¾Ý,ÓÐЩ¿Ø¼þ²»ÊÇ×Ô´ ......

asp.netÖеĹÖÒìÎÊÌ⣿

asp.netÖÐAÁ´½Ó´«ÖÐÎÄÖµ£¬½ÓÊÕʱÂÒÂ룡

ÔÚÓÐЩµçÄÔÉÏÄÜÕý³£½ÓÊÕ£¬µ«ÓÐЩµçÄÔÉÏÈ´²»ÄÜÕý³£½ÓÊÕ£¬

ÇëÎʸ÷λÓÐûÓÐʲô·½·¨£¿
ÓÃsession£¬»òÕ߸ü¸Ä±àÂ룬

default.aspx
C# code:

this.Redirect("hello.aspx?text="+this.this.Server.HtmlEncode("ÄãºÃ"));



hello.as ......
×ܼǼÊý:2366; ×ÜÒ³Êý:395; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [385] [386] [387] [388] 389 [390] [391] [392] [393] [394]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ