案例1(工作正常)
let urlSearchParams = new URLSearchParams();
urlSearchParams.append('name', name);
urlSearchParams.append('dob', dob);
let body = urlSearchParams.toString();
let opts: RequestOptions = new RequestOptions();
opts.method = RequestMethod.Post;
opts.headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' });
this.http.post(this._addProfileUrl, body, opts)
.subscribe(res => {
.................
.................
}
);
combobox1
案例2(问题)
combobox2
for
例如“H”combobox1
过滤字词中选择其他值
“B”combobox2
- 只显示哪些值
开始“H”combobox1
- 只显示以“B”代码开头的值; ASPX
combobox2
aspx.cs
在数据绑定之前,我使用了<ext:ComboBox ID="combobox1 " runat="server" DisplayField="CountyName" ValueField="ISSCode" QueryMode="Local">
<Store> <ext:Store ID="str1" runat="server" AutoDataBind="true">
clearfilter()
答案 0 :(得分:0)
试试这个解决方案
combobox1.Reset();
strCounties.DataSource = countyDataTable;
strCounties.DataBind();