请问如何将后台数据库drop用法查询的值设定在前台dropdowmlist?

ASP.NET DropDowmList 联动_百度知道
ASP.NET DropDowmList 联动
runat=&quot:DropDownList& Width=&quot:ListItem&
&DropDownList1&DropDownList2&&server&asp:DropDownList ID=&& runat=&quot:ListItem Value=& &server&bginput& CssClass=&bginput&
&DropDownList3& CssClass=&quot:ListItem&mbsp&
&lt:DropDownList ID=&怎么写方法; Width=&asp:DropDownList&126px&cwtv&asp:ListItem Value=&
& AutoPostBack=&True&& Width=&省气象局&116px&asp:ListItem Value=&nothing&/116px&server&/==请选择==&/ CssClass=&
& runat=&quot:ListItem&/气象频道&/&gt:DropDownList ID=&&#47:DropDownList& &&lt&bginput&asp
我用的VS2005
没有AJAX那个控件
提问者采纳
你要绑什么啊?
其他类似问题
为您推荐:
其他3条回答
调用。。有个办法。比如你要在Default。 此为 偏方,然后,没有刷新咯,实现功能.aspx 中到这些。你就新建一个页面,你就可以发现:如aaa。.aspx 在里面把这些放进去;iframe&&#47,然后,在在Default.asxp中用&&iframe&gt,当你点击选择dropdaonlist的时候如果不想无刷新绑定
把两个dropdownlist放到一个updatepannel,上网搜吧,很多
先给你个思路 首先页面载入的时候 加载数据到数组 让后用javascript即可实现
如有不懂 请留言
在body下面
&asp:DropDownList ID=&ddlxueyuan1& runat=&server& onchange=&javascript:mychange(this.options[this.selectedIndex].value);&&
&asp:ListItem&==请选择==&/asp:ListItem&
&/asp:DropDownList&
&asp:DropDownList ID=&ddlzhuanye& runat=&server&&
&asp:ListItem&==请选择==&/asp:ListItem&
&/asp:DropDownList&
&script language=&javascript&&
subcity = new Array();
&asp:Literal id=&ltlsubcity& runat=&server&/&
function ...
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁dropdowmlist已经绑定数据库了,我还是想把一个值传给它_百度知道
dropdowmlist已经绑定数据库了,我还是想把一个值传给它
急用!,这就是修改时。,把源有的值传过去。,谢谢这是用的控件
我有更好的答案
Add(&quot.ItemsDropDownList1;);XXX&quot
DropDownList1.Items.Insert(0,new ListItem(&&,&&))
其他类似问题
为您推荐:
数据库的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁怎样获取dropdowmlist里面字段对应的id_百度知道
怎样获取dropdowmlist里面字段对应的id
提问者采纳
DataValueField=&quot.控件名.value,.SelectValue.控件名.控件名;id&quot:int id = this.selectI,this,你设置dropdownlist数据源时比如说;或int id =取值时
提问者评价
谢谢·············
来自团队:
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁vb.net dropdowmlist 如何绑定数据表中的某一列_百度知道
vb.net dropdowmlist 如何绑定数据表中的某一列
我想用dropdownlist绑定数据表中的列 foodsetName 。 如何得到
提问者采纳
DataSource =数据表.DisplayMember=foodsetNcomboBoxcomboBox
其他类似问题
为您推荐:
其他1条回答
ropdownlist1.DataValueField = &quot.DataTextField = &dropdownlist1;dropdownlist1;foodsetName&foodsetName&quot.DataSource = 数据表dropdownlist1
数据表的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 前台显示后台数据库 的文章

 

随机推荐