来源:蜘蛛抓取(WebSpider)
时间:2016-05-30 15:22
标签:
前台显示后台数据库
ASP.NET DropDowmList 联动_百度知道
ASP.NET DropDowmList 联动
runat=":DropDownList& Width=":ListItem&
&DropDownList1&DropDownList2&&server&asp:DropDownList ID=&& runat=":ListItem Value=& &server&bginput& CssClass=&bginput&
&DropDownList3& CssClass=":ListItem&mbsp&
<:DropDownList ID=&怎么写方法; Width=&asp:DropDownList&126px&cwtv&asp:ListItem Value=&
& AutoPostBack=&True&& Width=&省气象局&116px&asp:ListItem Value=¬hing&/116px&server&/==请选择==&/ CssClass=&
& runat=":ListItem&/气象频道&/>:DropDownList ID=&/:DropDownList& &<&bginput&asp
我用的VS2005
没有AJAX那个控件
提问者采纳
你要绑什么啊?
其他类似问题
为您推荐:
其他3条回答
调用。。有个办法。比如你要在Default。 此为 偏方,然后,没有刷新咯,实现功能.aspx 中到这些。你就新建一个页面,你就可以发现:如aaa。.aspx 在里面把这些放进去;iframe&/,然后,在在Default.asxp中用&&iframe>,当你点击选择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=<lsubcity& runat=&server&/&
function ...
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁dropdowmlist已经绑定数据库了,我还是想把一个值传给它_百度知道
dropdowmlist已经绑定数据库了,我还是想把一个值传给它
急用!,这就是修改时。,把源有的值传过去。,谢谢这是用的控件
我有更好的答案
Add(".ItemsDropDownList1;);XXX"
DropDownList1.Items.Insert(0,new ListItem(&&,&&))
其他类似问题
为您推荐:
数据库的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁怎样获取dropdowmlist里面字段对应的id_百度知道
怎样获取dropdowmlist里面字段对应的id
提问者采纳
DataValueField=".控件名.value,.SelectValue.控件名.控件名;id":int id = this.selectI,this,你设置dropdownlist数据源时比如说;或int id =取值时
提问者评价
谢谢·············
来自团队:
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁vb.net dropdowmlist 如何绑定数据表中的某一列_百度知道
vb.net dropdowmlist 如何绑定数据表中的某一列
我想用dropdownlist绑定数据表中的列 foodsetName 。 如何得到
提问者采纳
DataSource =数据表.DisplayMember=foodsetNcomboBoxcomboBox
其他类似问题
为您推荐:
其他1条回答
ropdownlist1.DataValueField = ".DataTextField = &dropdownlist1;dropdownlist1;foodsetName&foodsetName".DataSource = 数据表dropdownlist1
数据表的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁