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

Asp.net ±£´æÒ³Ãæ²ÎÊý - .NET¼¼Êõ / ASP.NET

ÎÒÏÖÔÚÓÐÁ½¸öwebÒ³Ã棺²éѯÁбíÒ³ÃælistºÍ±à¼­ÏêϸҳÃæedit
ÎÒÒªÔÚeditÒ³ÃæÐ޸ı£´æÍê³É·µ»ØlistÒ³Ãæºó£¬ÔÙÔÚlistÒ³Ã潫ÎҸղŲéѯÌõ¼þµÄ²ÎÊýºÍ²éѯ½á¹ûÏÔʾÔÚÒ³ÃæÉÏ£¬ÇëÎʸ÷λ¸ÃÈçºÎ×ö£¿
±ÈÈ磺listÒ³ÃæÓУº²éѯÌõ¼þ <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
 ½á¹ûÏÔʾ GridView 
ÎÒÏÖÔÚÊäÈëtxtName µÄÎı¾Öµ="a"£¬²é³öÊý¾Ý¿âÖÐÒ»Ìõ¼Ç¼£¬ÏÔʾÔÚGridViewÖУ¬½«¸ÃÌõÊý¾Ý·¢Ë͵½Ò³Ãæedit±à¼­£¬
ÔÚeditÒ³Ãæ±à¼­ºó£¬·µ»ØlistÒ³Ã棬 ÈçºÎÔÚlistÒ³ÃæÖÐ ½«textBoxµÄÎı¾Öµ="a"¸³Öµ£¬²¢ÇÒGridViewµÄ½á¹ûÊǸողéѯµ½µÄ½á¹û£¿
ÓÃhiddenÏîÄ¿±£´æÒ²¿ÉÒÔ£¬
ÓÃsession±£´æÒ²¿ÉÒÔ

editÒ³Ãæ±à¼­ºó·µ»ØµÄʱºò,ÔÚÌí¼Óurl²ÎÊý²»¾Í¿ÉÒÔÁË~
È»ºólistÒ³Ãæ¸ù¾Ý²ÎÊý½øÐÐÏàÓ¦µÄ²éѯ~

ÔÚÄãÌøתµ½editÒ³Ãæʱ°ÑtxtName µÄÎı¾Öµ"a"´«¹ýÈ¥£¬ÔÚÄãÐÞ¸ÄÍê³ÉºóÔÚ°Ñ"a"´«»ØlistÒ³ÃæÈ¥ÔÚPage_Load°ó¶¨µ½¾Í¿ÉÒÔÁË

²»ÒªÓ÷þÎñÆ÷¿Ø¼þ¾Í¿ÉÒÔ

ÔÚÁбíÒ³Ìøµ½±à¼­Ò³µÄʱºò¾Í½«²éѯÌõ¼þ´«¹ýÈ¥£¬±à¼­ÍêÁËÔÙ´«»ØÀ´ where=a
ÁбíÒ³ÅжÏwhereÊÇ·ñÓÐÖµ£¬ÔÙÈ¥²éѯ
ÕâÑù×öÂé·³µã£¬¼òµ¥µÄ¾ÍÊǽ«²éѯÌõ¼þ·ÅÈëSessionÖÐ

ÒýÓÃ
ÔÚÄãÌøתµ½editÒ³Ãæʱ°ÑtxtName µÄÎı¾Öµ"a"´«¹ýÈ¥£¬ÔÚÄãÐÞ¸ÄÍê³ÉºóÔÚ°Ñ"a"´«»ØlistÒ³ÃæÈ¥ÔÚPage_Load°ó¶¨µ½¾Í¿ÉÒÔÁË

µ«ÎÒµÄÌõ¼þ¿ÉÄÜ»áÓкܶ࣬ÖÁÉÙ¶¼ÓÐÆ߰˸ö²éѯÌõ¼þ¡£
ÓÐûÓиüºÃÒ»µãµÄ°ì·¨

list£ºÒ³Ãæ
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
CheckBack();
}


Ïà¹ØÎÊ´ð£º

¶¯Ì¬È¡µÃaspÀà³ÉÔ±

ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......

ÇóÖúasp.netͼƬÉÏ´« - .NET¼¼Êõ / ASP.NET

¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£

ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ