# Category: sql

## Linq Query Unable to return Expected Result in Wcf service with Angular JS Application

I am consuming wcf rest service into Angular JS Application .I have two table named Current_Account_Deposit and Current_Account_Withdraw.I am joining two tables records into single record and displaying the records in angular js application.This is account holder transaction record like Money deposit and withdraw. When I have record for both table ,its able to retrieve but if i have only Current_Account_Withdraw record in database ,its do not display anything. Here is the Interface. [OperationContract] [WebInvoke(Method […]

## How to Get data of 4 dropdownlists from server in 1 request? [on hold]

I have a registration page where there are 4 drop down lists and i want to bind them all from database. I just want when the page loads, i can get the data of all 4 dropdownlists in just 1 request from server. I am using angular1 version and entity framework with mvc. Can somebody suggest better solution ? Source: AngularJS

## How to fetch dynamic table list in MVC and angularJS

I’m getting a list in my angular.js file (EditDeleteItem.js) which I’m making based on the selected table name. The function to send my list is as below:- $scope.SaveTblRecord = function (list) { //alert(JSON.stringify($scope.employeeList)); $scope.FetchTableName(); //var Data =$.param({ TblData: $scope.MyTblDataList }); var itemList = []; angular.forEach(list, function (value, key) { if (list[key].selected) { itemList.push(list[key].selected); } });$scope.ItemsList = []; $scope.ItemsList = itemList;$http({ method: “Post”, url: “/Admin/SaveTblData”, data: $scope.ItemsList, }).success(function (data) {$scope.GetTblData(\$scope.TempName); }).error(function (err) […]