Posts by Felipe Negro • 199 points
15 posts
-
3
votes1
answer243
viewsQ: JOB with 2 Steps, first step stops when reaches 1 minute of execution
I have a JOB configured in SQL to run every 30 minutes, in this has 2 steps, 1 Process in each step, but when the first step reaches 1 minute of execution, it ends without executing all records that…
-
0
votes1
answer373
viewsA: I need to display a TOTAL field in a PIVOT query
I got! Just make the sum of each city and insert anywhere before FROM: ,[CAMPINAS] + [PAULISTA] + [BELÉM PA] + [PORTO ALEGRE] + [SALVADOR] + [RIO DE JANEIRO] + [RECIFE] + [CURITIBA] + [MANAUS] +…
-
0
votes1
answer373
viewsQ: I need to display a TOTAL field in a PIVOT query
I have the query below that returns the total quantity in stock of the products for each city. Each city is a column and products are displayed in rows. Now I need to display in a field (column) the…
-
1
votes1
answer678
viewsQ: Validation for Textarea using Razor MVC 4
I have the following modal and need to include validations so that the textarea is mandatory when clicking the "Yes" button, that is, it cannot be sent in white, and so that the textarea has at…
-
0
votes2
answers70
viewsQ: Javascript for each record in my view
I have a VIEW where I display a table with 15 records (15 rows) and 5 columns, but what really matters is a column, "Actions". In it I have 1 button, "Visualize", that when clicking, I want to open…
-
0
votes3
answers519
viewsA: Sending temporary information between classes with C# 4.0 MVC 4
With the help of @Randrade suggestions, I was able to reach the final result as below: PROJECT A The view remains the same as the question. VIEW <li> <a…
-
1
votes3
answers519
viewsQ: Sending temporary information between classes with C# 4.0 MVC 4
Working with a Solution VS 2015 that has 2 sites, "projectA.site.com.br" and "projectB.site.com.br", their views and controllers are in the same project, named as "WEB", developed in C# . NET 4 with…
-
6
votes1
answer289
viewsQ: Dropdown filter using C# MVC 4
I have a dropdown in my view that I fill in the following way: ViewBag.NfeStatus = EnumHelper .ListAll<NfeStatus>() .ToSelectList(x => x, x => x.Description()); My model Nfestatus is an…
-
0
votes2
answers2406
viewsQ: Single row and column result for multi-row column
I have a function in SQL that returns a single row in a single column with records separated by points. Example: Column 1: Result Line 1: 0000000.0000001.0000002.0000003.0000004.0000005.0000006 I…
-
1
votes2
answers509
viewsA: Capture values from one table and insert them into another
I managed to solve my problem using cursor. In this thread there is the answer. Traverse row by row of a table…
-
2
votes1
answer6162
viewsQ: Traverse row by row of a table
I have a temporary table that I fill with the result of a particular query. I need to go through the data of this temporary table, row by row, and take certain fields and insert them into another…
-
1
votes2
answers509
viewsQ: Capture values from one table and insert them into another
I have a temporary table that fills it with the result of a particular query. Now I need to go through the data of this temporary table, row by row, and take certain fields and insert them into…
-
1
votes2
answers2589
viewsQ: Cannot implicity Convert type 'System.Collections.Generic.Ienumerable' to 'System.Collections.Generic.List'
I have the following method below for the purpose of returning notifications that must be displayed to a particular customer and notifications that must be displayed to all customers. public…
-
1
votes3
answers878
viewsQ: How to hide URL ID?
17/11/2016 I have an application that is mounting the following URL www.meusite.com.br/controller/action/id However, I need the ID not displayed in the URL, but let it live on back-end, because it’s…
-
1
votes1
answer706
viewsQ: Fill Dropdown from the selection of another Dropdown
Guys, I’m trying to fill one DropDown from the selection of another DropDown, basically, when the user selects a state in a DropDown, cities of this state must be displayed in another DropDown,…