GridView:中建立dropdownlist 性别怎么操作 GridView:中建立dropdownlist 性别怎么操作? 数据类型为 bit 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <asp:GridView ID="gridview" SkinID="GridView" runat="server" Height="100%" Width="100%"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:DropDownList ID="DropDownList" runat="server"> <asp:ListItem Selected="true" Value="0" Text="男"></asp:ListItem> <asp:ListItem Value="1" Text="女"></asp:ListItem> </asp:DropDownList> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> <asp:GridView ID="gridview" SkinID="GridView" runat="server" Height="100%" Width="100%"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:DropDownList ID="DropDownList" runat="server"> <asp:ListItem Value="0" Text="男"></asp:ListItem> <asp:ListItem Value="1" Text="女"></asp:ListItem> </asp:DropDownList> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView>用这个 如果是bit的话 就可以直接写出来,不用邦定了, 直接选择就可以了, 一个XML上传的问题,希望高手帮忙解答下! 使用PagedDataSource进行分页消耗资源吗? freetextbox输入过多报错怎么回事? 疯了...没人帮忙.... 急:哪位高手能给我java群的QQ号不 页面如何返回? 在线求助!!!求高手帮忙解决一个树结点删除与数据库动态结合的问题!!!高分相赠能解决问题者 http://bbs.joysos.com/index.htm中间的打开和关闭导航栏怎么做的? 怎样控制一个控件的被调用次数 关于格式化问题(送分) 表太大把页面撑破了. js中定义的问题
Width="100%">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:DropDownList ID="DropDownList" runat="server">
<asp:ListItem Selected="true" Value="0" Text="男"></asp:ListItem>
<asp:ListItem Value="1" Text="女"></asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Width="100%">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:DropDownList ID="DropDownList" runat="server">
<asp:ListItem Value="0" Text="男"></asp:ListItem>
<asp:ListItem Value="1" Text="女"></asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>用这个