Posts by William • 215 points
8 posts
-
4
votes3
answers3103
viewsA: How to perform UPDATE with ORDER BY on sql server?
To use ORDER BY in the update, you need to use a subquery and sort it with the OVER clause, for example: ;WITH pessoaAux AS( SELECT Id, Nome, Idade, ROW_NUMBER() over(order by nome asc) rowNumber…
-
0
votes1
answer82
viewsA: Return current row value of a Tree-grid-Directive tree
Checking the source code, I discovered that by passing the parameter "Row.branch" in the function, it returns the line object. For example, pass Row.branch to the function: <script…
-
0
votes1
answer82
viewsQ: Return current row value of a Tree-grid-Directive tree
I’m using the Tree-grid-Directive (https://github.com/khan4019/tree-grid-directive) in an Angularjs application and would like to know how to return the object representing the current row in the…
-
1
votes1
answer884
viewsQ: "The best compatible overloaded method has some invalid arguments"
I’m creating a service with a method that has an argument like List<OrdemPais>(), and passing an object of this type to the method, but when compiling it appears the error: O melhor método…
-
0
votes2
answers291
viewsA: Problem when performing delegate bind in ninject
I solved this problem by changing the injector ninject to the unity and he was able to solve this dependency.
-
4
votes3
answers3103
viewsQ: How to perform UPDATE with ORDER BY on sql server?
I would like to perform an update ordering the results of the same, for this I wanted to run an update like this: UPDATE pessoa SET nome = 'Jose' WHERE sobrenome LIKE '%Betalla%' ORDER BY nome But…
-
1
votes2
answers291
viewsQ: Problem when performing delegate bind in ninject
I am developing an application with ninject for Ioc and Entity framework, but when I perform the bind with delegate it gives this error: <Message>An error has occurred.</Message>…
-
1
votes1
answer3970
viewsQ: Pass a list of View objects to the Controller
I have a Customer class and an address, and a customer can have many addresses. I am trying to create a Client View where I can add as many clients as I want, and then I can add these addresses to…