Posts by Gabriel Peterossi Maricato • 21 points
9 posts
-
0
votes0
answers17
viewsQ: In which cases is Primary Key NONCLUSTERED more advantageous?
Good afternoon, you guys! I was researching about Primary Key Clustered and found that answer: "The difference that actually exists is between the fields of the type NONCLUSTERED clustered clusters.…
-
0
votes2
answers52
viewsA: How to get HTML buttons with javascript
Good night, Lucas! I know you want to exercise, so I’ll put an idea of how you could do: You can put a função for each Input and take it as follows: <!DOCTYPE html> <html> <body>…
javascriptanswered Gabriel Peterossi Maricato 21 -
-3
votes2
answers53
viewsA: Return void in an Actionresult method?
maybe something along those lines: public ActionResult NewWindow() { return Content("<script>window.open('{url}','_blank')</script>"); }
-
0
votes2
answers111
viewsA: @using from my view does not find the model in Asp.Net MVC
Good afternoon, Wel! You need to add the namespace of that class in the file _ViewImports.cshtml: @using Nomedoprojeto.Models.ViewModels…
-
0
votes2
answers63
viewsA: Deserialize XML for object comes with null information
Good afternoon! I believe the code below works for you: private CorreioResult ConverterParaXml(string data) { using (TextReader reader = new StreamReader(data)) { XmlSerializer serializer = new…
-
1
votes2
answers233
viewsA: Get data from a website to use in C#
Hello, good afternoon! As Marcus said, the page is generated through Javascript. You will have to use a tool like Selenium for example. I did a test here at xPath:…
-
0
votes2
answers59
viewsA: Serialize to different objects in C#
Good afternoon! Maybe something like that here: // Root myDeserializedClass = Jsonconvert.Deserializeobject(myJsonResponse); public class Myarray { public string name; public Object value; } public…
-
0
votes1
answer33
viewsA: Problem with CPF validation
Good afternoon! From what I saw in your code, you are using only a CPF mask library. There is no valid CPF validation. You can do this in your backend. Hugs
-
1
votes1
answer24
viewsA: Do dates search using MVC5
Good afternoon, Marcio! I think the example below will help you: var resultado = context.nome.OrderByDescending(c => c.datacadastro).ToList(); Something to that effect. Hugs!…