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

Ò»¸öASPÎÊÌâ..À´¿´ÏÂ

HTML code:

[align=left]int releId = this.ddlUserType.SelectedIndex;
this.gvUsers.DataSourceID = "odsUserByRoleId";
if (this.gvUsers.Rows.Count == 0)
{
this.gvUsers.DataSourceID = "odsUser";
}[/align]


Á½¸ö²»Í¬Êý¾ÝÔ´ID: "odsUser"->²éÕÒËùÓÐÓû§; "odsUserByRoleId"->¸ù¾ÝÓû§½ÇÉ«²éÕÒÓû§.
ÎÊÌâ: Èç¹û"odsUserByRoleId"Êý¾ÝÔ´²éÕҵĽá¹ûΪ¿ÕÔòÈÃËüÖ¸¶¨ËùÓвéÕÒËùÓÐÓû§µÄÊý¾ÝÔ´, ÈçºÎ¶¨ÒåIFÌõ¼þ.
¿´²»¶®£¡£¡

Äã×Ô¼º²»ÊÇÒѾ­Ð´ÁËif

Õâ¸öIF²»ÐÐ!!!

ÄÇÄãÖ±½ÓÅжÏodsUserByRoleIdÊý¾ÝԴΪ²»Îª¿Õ£¬²»¾ÍµÃÁË£¬Èç¹ûΪ¿Õ£¬¾ÍÓÃ"odsUser"->²éÕÒËùÓÐÓû§£¬Êý¾ÝÔ´°ó¶¨

ÄãµÄif  Ôõô³öÎÊÌâÁ˰¡£¿

ÎÒдÁËÒ»¸ö¼òµ¥µÄ£¬ Äã¿´¿´£¬
ÕâÑùÌæ»»Êý¾ÝԴ֮ǰ£¬Ê×ÏÈҪעÒâдÉÏ 
this.GridView1.DataSource = null;
È·±£Êý¾ÝԴΪ¿Õ£¬²»È»»á³ö´íµÄ/

DataTable table = new DataTable();
        DataTable table1 = new DataTable();

        DataColumn c1 = new DataColumn("id1");
        table.Columns.Add(c1);
        DataColumn c2 = new DataColumn("id2");
        table1.Columns.Add(c2);
     


Ïà¹ØÎÊ´ð£º

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

Ç뾫ͨasp³ÌÐòµÄÅóÓѰïæÐÞ¸ÄÍøÕ¾

ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......

aspÊÂÎñÎÊÌâ

<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=") ......

aspÎļþ½âÃÜ

ÎÒÓÐÒ»¸öaspÔ´Â룬µ«ÊdzöÏÖÒ»¸öÎļþ£¬ÎÒÓÃasp½âÃܶ¼ÊÇÂÒÂë
Çë½Ì

VBScript code:
??

 %# , #&')*)-0-(0%()(?

(((((((((((((((((((((((((( ......

asp´¥·¢Ê¼þÎÊÌâ

ÔÚÒ»¸ö·¢±íÎÄÕµÄÒ³Ãæ£¬Èç¹ûÖÐ;¹Ø±ÕÒ³Ãæ£¬ÕâÌáʾÊÇ·ñ·ÅÆú±à¼­£¬
Èç¹ûµã»÷·ÅÆú£¬ÔòתÏòÌîд·ÅÆúÔ­ÒòµÄ½çÃæ£¬
Èç¹ûµã²»·ÅÆú£¬ÕâÍ£ÁôÔÚÔ­Ò³Ãæ£¬
Èç¹ûÊǵã»÷Ò³ÃæµÄ³¬¼¶Á´½Ó£¬Ôò´¥·¢Ê¼þʧЧ

ÈçºÎ±àд´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ