UltraWebGrid动态生成CheckBox

Code
<!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>-->1protectedvoidUltraWebGrid1_InitializeRow(objectsender,Infragistics.WebUI.UltraWebGrid.RowEventArgse)
2{
3if(e.Row.Band.Index==0)
4{
5stringstr=string.Empty;
6str="<inputid='chk"+e.Row.Index+"'type='checkbox'name='chkName"+e.Row.Index+"'/>";
7e.Row.Cells[0].Text=str;
8}

9
10}

11

你可能感兴趣的:(checkbox)