Posts by Alexsandro Souza • 91 points
5 posts
-
0
votes2
answers49
viewsA: How to make the custom select of the screen "Suppliers" search information (Company name) in the table "Company"
Consider the following scenario: Na Controller: List<Empresa> lstEmpresa = new List<Empresa>(); lstEmpresa.Add(new Empresa() { ID = 1, Nome = "Empresa 01"}); lstEmpresa.Add(new Empresa()…
-
2
votes1
answer95
viewsA: Working with Sources C#?
Verin, I use it as follows. I create a file named Resources.resx in Properties. Then I create the files with the names Resources.en-BR.resx, Resources.en-US.resx and so on. I create the same strings…
-
1
votes1
answer3085
viewsA: Grab a list from the View and move to the controller c#
Analyze this path: public class Fornecedor { public int ID { get; set; } public string Nome { get; set; } public List<Tecnico> Tecnico { get; set; } } public class Tecnico { public int ID {…
-
1
votes2
answers308
viewsA: ASP.Net - Make Page.Uiculture return culture in "en-BR" format
To recover the user’s browser language I always use, as follows: List<string> Idiomas = new List<string>() { "pt-BR", "es-MX", "en-US" }; string cultureInfo; try { var userLanguages =…
-
2
votes1
answer90
viewsA: How to Register a Date in My Database using ASP.NET MVC
Do you want the date of the time of registration? If this is it you can do directly in your INSERT, keep the Data property as you already have to return the data. SQL Server - INSERT INTO TABELA…
asp.net-mvcanswered Alexsandro Souza 91