本帖最后由 Rddisney 于 2012-02-26 19:18:08 编辑

解决方案 »

  1.   

    get或者是post方式传递数据都是可以的啊。
      

  2.   

    chen_ya_ping
    (我的身上流淌着0和1),您好。
    get或者是post方式传递数据,这个我不懂。请多多指点。
      

  3.   

    比如: 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传递
      

  4.   


    <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>