listBox 显示 <asp:ListBox ID="User" runat="server" Height="112px" Width="96px"></asp:ListBox>载入页面时 默认选中第一条数据怎么实现 jQuery C# 都行listBox 数据 是后台绑定上去的谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 设定selectedindex为0不就可以了嘛 DataSet ds=new DataSet(); ListBox1.DataSource = ds; ListBox1.DataBind(); DataSet ds=new DataSet(); ListBox ListBox1 = new ListBox(); ListBox1.DataSource = ds; ListBox1.DataBind(); ListBox1.SelectedIndex = 0; ListBox1.SelectedIndex = 0;这个写了 没反应 ListBox1.SelectedIndex = 0;写了没反应?不会吧!断点调试一下! 不会是ListBox1里面没有绑定数据吧! listbox像dropdownlist一样要绑定DataTextField 和DataValueField 的 gridview怎么固定表头? 好像下面代码没有什么作用,请帮忙看一下 jsp 的一个小小的问题 C#.net转换为VB.net代码问题 在文本框中允许添加html语法的javascript怎么写?? 我不知道我是否犯了一个最愚蠢的问题???? 日期的问题! 高分!直接运行表达式的问题 大家帮我看看哪里错了? 问个关于checkboxlist控件的用法! 请问一个关于数据库恢复的问题: .net求一函数 asp.net 读取数据库中的数据,实现无缝滚动
ListBox1.DataSource = ds;
ListBox1.DataBind();
ListBox ListBox1 = new ListBox();
ListBox1.DataSource = ds;
ListBox1.DataBind();
ListBox1.SelectedIndex = 0;
这个写了 没反应
写了没反应?不会吧!断点调试一下!