2
ここ
私が使用してデータベースからデータをフェッチするよどこここに条件値を示すすべてのテキストボックスが、なぜドロップダウン表示されない値angularjsなぜドロップダウン結合ではない値で、それ
<select ng-options="I.CountryID as I.CountryName for I in CountryList" ng-model="CountryID">
<option value="{{CountryName}}">{{CountryName}</option>
angular.js
$scope.EditEmp = function (xxx) {
GetAllCountryList(); var ser = Myservice.EditByid(xxx.Id);
ser.then(function (d) {
$scope.Name = xxx.Name;
$scope.CountryID = xxx.CountryID; //This is my Dropdownlist
$('#modalpopup').modal('show')
}
}
値VAR X =(n.CountryIDに等しい上n.Id ==イド がdb.CountrysでCTSを結合db.Accessings でnはcts.CountryID n.StateIDがsts.StateIDと等しいdb.Stateにstsを追加します。 新しい{ n.Id、n.Email、cts.CountryName、sts.StateName})を選択します。 –