Posts by Elton • 172 points
14 posts
-
2
votes1
answer392
viewsQ: How to leave the relative folder path?
I developed a project in ASP.NET MVC and now I’m going up to the server. Turns out on my local machine, it takes the localhost address, something like this: http://127.0.0.1:8080/ But when…
-
0
votes1
answer93
viewsQ: Pass list to model
I have a query that returns me a list this way: var list = db.Comentario.Where(d => d.GrupoTrabalhoId == Id).OrderByDescending(s => s.DataComentario).ToList(); After this query, she will…
-
1
votes1
answer53
viewsQ: Recover Model List Passed by ajax through Formdata
I’m sending an image, along with a model that contains a list of integers. But I’m not recovering the moment you enter Action. I can recover the image, field1 and field2, while the field. HTML…
-
0
votes1
answer93
viewsQ: How to assemble this layout in Bootstrap 3
I’m trying to mount the grid below in Bootstrap 3. This grid is being mounted inside a for loop. this way I’m using the Grid System scheme, but they are aligned this way: That is the code: <div…
bootstrap-3asked Elton 172 -
3
votes1
answer136
viewsQ: Refactoring Sonarqube code
What could I do to improve this code? Sonarqube indicates that I should refactor this code, but does not present any suggestions: var dados = Set.Where(s => s.Id > 0); if (filtro.IdSolicitacao…
-
1
votes2
answers396
viewsQ: Get next record on a grouped foreach
How could I be selecting the next record within a foreach grouped before it ends, without advancing on that loop? The point where I think I might be getting this information is where it’s written…
-
0
votes2
answers1831
viewsA: How to recover the description of an enumerator?
just use getDescription: var teste = MeuEnumerador.GetDescription();
-
4
votes1
answer455
viewsQ: How did the command-line interface (CLI) come about and what was this need?
If we look back about 10 years, I don’t remember having this feature for developing applications through CLI (command line interface) on Windows operating systems. Examples used today: Ionic CLI,…
-
0
votes2
answers223
viewsA: JSP information for another JSP
Hi @Thiago R. There are some ways to do this. One of them is by form Submit. Another would be to use JSON. You create a Javascript function that will be triggered by clicking this button, then in…
-
0
votes2
answers870
viewsA: How to use a file . JSP
Install the Tomcat : http://tomcat.apache.org With Tomcat installed you can start JSP development. To start development you must create an easyjava directory in C: Program Files (x86) Apache…
-
0
votes1
answer37
viewsA: c# - uploading file to ftp works only the first time
Try doing using this dll (FTP.ddl) : https://www.limilabs.com/ftp/download (Ftp.dll zip Archive) here are the examples you need : https://www.limilabs.com/ftp/samples…
-
0
votes4
answers486
views -
0
votes1
answer169
viewsA: How do I access the DOM elements in the Electron?
take a look at the code below: <html lang="pt-br" dir="ltr"> <head> <meta charset="utf-8"> <title>Electron</title> </head> <body> <input type="text"…
-
2
votes1
answer576
viewsQ: Load image from project
I have a project developed from a console application in Visual C#, in which sends emails, the text being in html format. Today I put an image inside that html the following way: "<img src='" +…