Posts by Diego Silva Lima • 31 points
10 posts
- 
		0 votes5 answers258 viewsA: How to open more than one View in a controller?Within your order view you will have to call a partial view. <fieldset> <lengend>Itens do pedido</legend> @Html.Partial("ItemDoPedido", idPedido) </fieldset>… 
- 
		0 votes1 answer304 viewsA: Receive data from a select in Angular$scope.procurar = function (){ var nome = $scope.filtro; $http.post(linkservice + "selectByNome", nome).then(function (response) { $scope.nomes = response.data; alert($scope.nomes.texto_cnh);… angularjsanswered Diego Silva Lima 31
- 
		0 votes2 answers2054 viewsA: How to increment the counter with ng-repeat?Hello, ng-repeate provides the iteration index, so you can use this variable to help you solve your problem. if you want to better understand ng-repeat functioning… angularjsanswered Diego Silva Lima 31
- 
		1 votes2 answers260 viewsA: Implement ProgressbarSee if the code helps you //cria conexao com o DB OleDbConnection aConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Casa\Desktop\Inventario.mdb"); //comando… c#answered Diego Silva Lima 31
- 
		1 votes1 answer954 viewsQ: Create Json with a large amount of Data and Return with WebapiScenario: I have a Webapi that executes a method in my service layer that executes a query either returns 500k result lines, containing 90 columns. Method that makes the query and traverses the… 
- 
		0 votes1 answer631 viewsA: How to fill in Angularjs fields from JSON returnTo fill in Select from the return of your request, you must use ng-repeat to iterate the results and mount the options: <select ng-model="produtoTrib.estado"> <option ng-repeat="obj in… 
- 
		1 votes1 answer418 viewsA: Angularjs - NG-Click to repeat HTML blockDude, you need to send a string array to your backend, I don’t know what you’re backend, but I believe the form below solves your problem function InformacoesObraController($scope) {… angularjsanswered Diego Silva Lima 31
- 
		0 votes1 answer49 viewsA: ngRoute not working properlytry using the $Location service self.go = function ( path ) { $location.path( path ); }; <a href="" ng-click="myCtrl.go('musica/5876a78078b88fe8662a188b')">Abrir musica</a>… 
- 
		0 votes1 answer334 viewsA: Angularjs-Charts - How to show monetary values in the chartUse the filter directive directly in your controller this way $filter('currency')(amount, symbol, fractionSize) $scope.data.push($.map(data, function(item) { return… angularjsanswered Diego Silva Lima 31
- 
		0 votes1 answer111 viewsA: MappingnhibernateTry this Compositeid() . Keyreference(x => x.Filialid, "id_filial") . Keyreference(x => x.Localid, "id_local");