ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Set CheckBox checked based on database value using AngularJS in ASP.Net MVC<p>I have changed edit code like below</p> <p>it's working fine for me&nbsp;</p> <pre class="brush: html"> $scope.edit = function (order) { var getData = RegistrationService.getOrders(order.OrderId); getData.then(function (s) { $scope.details = s.data; $scope.OrderId = details.OrderId; $scope.CId = details.CId; var Id = details.CId; var strArr =Id.split(&#39;,&#39;); for (var i = 0; i &lt; $scope.taxes.length; i++) { for (var j = 0; j &lt; strArr.length; j++) { if(strArr[j]==$scope.taxes[i].PDI_Id){ $scope.taxes[i].Selected = true; } } } }, function (msg) { alert(msg.data); $scope.msg = msg.data; }); $scope.apply(); }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/759854/Set-CheckBox-checked-based-on-database-value-using-AngularJS-in-ASPNet-MVC/https://www.aspforums.net:443/Threads/759854/Set-CheckBox-checked-based-on-database-value-using-AngularJS-in-ASPNet-MVC/Thu, 01 Aug 2019 01:29:47 GMT