新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
簡單實現(xiàn)C#CheckBox單選的相關(guān)功能
DataGrid中加入CheckBox,并實現(xiàn)c# CheckBox單選原理就是用js遍列所有CheckBox把所有CheckBox設(shè)為未被選中,然后在把單擊的CheckBox設(shè)為選中。

以下是c# CheckBox單選的實現(xiàn)方法:
aspx文件:
- <%@ page language="c#" codebehind="webform1.aspx.cs" autoeventwireup="false" inherits="datagridcheck.webform1" %>
- >
webform1 title> - content="microsoft visual studio .net 7.1" name="generator">
- content="c#" name="code_language">
- content="javascript" name="vs_defaultclientscript">
- content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetschema">


咨詢
建站咨詢