Posts by Tiago Azevedo Borges • 89 points
6 posts
-
1
votes0
answers388
viewsQ: Rendering error with angular router 2
I’m studying Angular 2 and I came across a problem in the application I’m doing as a study. I decided to create a Coremodule and in it create a Sidebar(menu) component with the links for navigation…
-
2
votes2
answers503
viewsQ: Good practices when working with file processing
I have a web application in Asp.Net MVC with C# and received a new requirement where the goal is to read a text file with thousands of lines, each line containing a set of data that will be used to…
-
-1
votes4
answers144
viewsA: Problems initializing a type within a LINQ query
You can initialize an object within select. Take a look at this code, it works perfectly. using System; using System.Collections.Generic; using System.Linq; public class Program { public static void…
-
1
votes3
answers5248
viewsA: How to open a link in a new aspx tab
Do as Luiz Vichiatto indicated or... Add the following code: LinkButton1.Attributes.Add("target", "_blank"); Should stay like this: LinkButton1.Attributes.Add("target", "_blank");…
-
3
votes2
answers247
viewsQ: Doubt about Security, Authentication and Authorization
Hello, I’m having a hard time setting up an architecture in the application security related part. I need only logged in and duly authorized users to have access to certain functions of the…
-
1
votes3
answers899
viewsA: Convert data c#
If what you want is just to print the date on the screen, try it like this: Console.WriteLine(Convert.ToDateTime(reader["DATA"]).ToString("dd-MM-yyyy")); This way you show the date value that came…