aspÀïÃæµÄCheckBoxListÔõô¶¯Ì¬Ìí¼ÓCheckBox?
ÎÒÏÖÔÚÓÐÒ»¸öÀ࣬
ÀïÃæµÄÊý¾ÝÊÇÒªÔÚÁíÍâÒ»¸öÒ³Ãæ¡£×ª»»³ÉCheckBox
ÎÒÔõô¶¯Ì¬µÄÌí¼Ó½øÈ¥?
²»Ã÷°×¡£ÕâÀïÊÇAsp.net°æ¿ì£¬asp²»¶®
1¥˵ÏȵÄÊÇc#
ͨ¹ýµ÷ÓûñÈ¡Êý¾ÝÌí¼Ó
CheckBoxList1.Items.Add (new ListItem("" ,""))
ÓеãÔΣ¬ÊDz»ÊÇÎÒûÓÐÃ÷°×°¡£¬´ÓÊý¾Ý¿â¶ÁÈ¡³öÀ´CheckBoxList1.DataSource=ds.Tables[0].DefaultView
dsÊÇÊÇ´ÓÊý¾Ý¿âÖжÁÈ¡³öµÄÊý¾Ý
ÓеÄʱºò
дaspµÄ¾ÍÊÇÖ¸µÄASP.NET £¬ÎÒÏëÄѵÀÊÇÏëÉÙд¼¸¸ö×Ö£¿
Ïà¹ØÎÊ´ð£º
<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿ ......
ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......
Êý¾Ý¿âÖÐÓÐÁ½¸ö±íNEWS ºÍ KEYWORD
±íNEWSÖÐÓÐ×Ö¶Î id,content£¨×Ö¶ÎcontentÊÇntextÐÍ£©
±íKEYWORDÖÐÓÐ×Ö¶Î id,title,url
ÏÖÔÚÒªÓÃASP½øÐÐÅжϣ¬ÅжÏNEWSÖеÄ×Ö¶ÎcontentÖÐÈç¹û´æÔÚijÄÚÈݵÈÓÚ±íKEYWO ......
×î½üÎÒͨ¹ýѧϰ£¬¸Ð¾õ×Ô¼ºÑ§µÄ»¹¿ÉÒÔÁË£¬Ïë×öÒ»ÍøÕ¾£¬µ«ÊÇÒ»Ö±¶¼ÕÒ²»µ½Ìâ²Ä£¬²»ÖªµÀ×öʲô£¬Ï£Íû¸÷λ¸øÎÒµãÒâ¼û£¬Èç¹ûÓÐÐèÇóÎĵµ¾Í¸üºÃÁË£¡Ï£Íû´ó¼Ò¸øÎÒµãÒâ¼û£¬Ð»Ð»£¡
ÏÈ×ö¸öÆóÒµÍøÕ¾°É£¬ÎҸоõÒ»¸öÈË×öÍøÕ¾²»ÊÊÒË ......