AJAX CascadingDropDown问题 本帖最后由 Rddisney 于 2012-02-26 19:18:08 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 get或者是post方式传递数据都是可以的啊。 chen_ya_ping(我的身上流淌着0和1),您好。get或者是post方式传递数据,这个我不懂。请多多指点。 比如: http://www.aasswwe.com/Num1=1&Num2=2 那么在传过来的页面后台string Num1=Request["Num1"].ToString();string Num2=Request["Num2"].ToString();this.DropDownList1.SelectedValue=Num1;this.DropDownList2.SelectedValue=Num2;这个是Get传递 <dl> <dt>*所在地区:</dt> <dd> <asp:DropDownList ID="ddlProvince" runat="server"> </asp:DropDownList> <asp:DropDownList ID="ddlCity" runat="server"> </asp:DropDownList> <asp:CascadingDropDown ID="CascadingDropDown1" runat="server" Category="Province" ParentControlID="" PromptText="请选择" SelectedValue="" TargetControlID="ddlProvince" ServicePath="~/ProvinceCity.asmx" LoadingText="加载中" ServiceMethod="GetProvinces"> </asp:CascadingDropDown> <asp:CascadingDropDown ID="CascadingDropDown2" runat="server" Category="City" ParentControlID="ddlProvince" PromptText="请选择" SelectedValue="" TargetControlID="ddlCity" ServicePath="~/ProvinceCity.asmx" LoadingText="加载 中" ServiceMethod="GetCities"> </asp:CascadingDropDown> </dd></dl> 按钮提交数据库为什么会被插入两次 Sql语句中的select case问题! ASP.net软件开发啦~ 如何写DataGrid 中TextBox的TextChanged事件 处理异常问题 高手来看看!!!!! 超级复杂的查询条件,如何优化性能..........求求兄弟们了,高手们了! 程序发布后点开某一个页面出现"无法找到该页" 。请前辈指点。 关于DropDownList下拉菜单的取值问题 page_unload事件怎么是在页面载入的时候执行 B/S 模式 实现类似 socket通信 在VS2010中修改数据库结构提示无法保存怎么处理 如何替换掉字符串中html的部分
(我的身上流淌着0和1),您好。
get或者是post方式传递数据,这个我不懂。请多多指点。
string Num2=Request["Num2"].ToString();this.DropDownList1.SelectedValue=Num1;
this.DropDownList2.SelectedValue=Num2;这个是Get传递
<dl>
<dt>*所在地区:</dt>
<dd>
<asp:DropDownList ID="ddlProvince" runat="server">
</asp:DropDownList>
<asp:DropDownList ID="ddlCity" runat="server">
</asp:DropDownList>
<asp:CascadingDropDown ID="CascadingDropDown1" runat="server" Category="Province"
ParentControlID="" PromptText="请选择" SelectedValue=""
TargetControlID="ddlProvince" ServicePath="~/ProvinceCity.asmx"
LoadingText="加载中" ServiceMethod="GetProvinces">
</asp:CascadingDropDown>
<asp:CascadingDropDown ID="CascadingDropDown2" runat="server" Category="City"
ParentControlID="ddlProvince" PromptText="请选择" SelectedValue=""
TargetControlID="ddlCity" ServicePath="~/ProvinceCity.asmx" LoadingText="加载
中" ServiceMethod="GetCities">
</asp:CascadingDropDown>
</dd>
</dl>