asp:radiobttonÔõôÓÃ,ÓдúÂë.
ÏÂÃæÊÇÒ»¶ÎÒ³Ãæ´úÂë,Ò»¸öDATALISTÀïÃæÓÐRADIOBUTTON,Õâ¸ö¿Ø¼þÓ¦¸ÃÔõôÓð¡,ÎÒÒªµÄЧ¹ûÊÇ,´ÓDBÀï²é³öÀ´µÄÊý¾ÝÏÔʾÔÚDATALISTÖÐ,×îÇ°ÃæÒ»ÁÐÊÇRADIOBUTTON,¿ÉÒÔÑ¡ÖÐÆäÖÐÒ»ÐÐ.ÏÖÔÚµÄЧ¹ûÊÇ,¿ÉÒÔͬʱѡÖжàÐв¢Çҵò»µ½Ñ¡ÖÐÐеÄFLAG,ÓÐûÓÐʲôºÃµÄ°ì·¨¿ÉÒÔ´ïµ½ÎÒÒªµÄЧ¹û,×îºÃÒ²¿ÉÒԵõ½Ñ¡ÖÐÄÄÒ»ÐеÄFLAG.¸ßÊÖÀ´¿´¿´,лл.
HTML code:
<asp:DataList ID="myList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
SelectedIndex="0" onselectedindexchanged="myList_SelectedIndexChanged">
<ItemTemplate>
<tr>
<td align="center" style="width: 60px; height: 35px;">
<asp:RadioButton ID="radio" runat="server" />
<%-- <asp:RadioButtonList ID="RadioButton1" runat="server" >
</asp:RadioButtonList>--%>
</td>
<td style="width: 450px; height: 35px;">
Ïà¹ØÎÊ´ð£º
<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿ ......
dim idi=request.QueryString("id")
set rs=server.createobject("adodb.recordset")
rs.open"select * from fang where id=194",conn,1,1
%>
......
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
ÎÒÃÇÓÐÒ»¸öÍøÕ¾Ä£°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......
<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=")
......