Posts by Caio Vinícius • 125 points
9 posts
-
2
votes1
answer771
viewsQ: How to Implement Automapper 6.2.2
I’m following a tutorial in which classes are configured as follows: A class called Automapperconfig: public class AutoMapperConfig { public static void RegisterMappings() { Mapper.Initialize(x…
-
3
votes2
answers576
viewsQ: Extract Date from a C#String
I need to extract two dates from a string that comes in the following format: string teste = "Aprovados por autorizantes da aplicação -> 02/03/2018 à > 02/03/2019"; This is the start date and…
-
0
votes2
answers572
viewsQ: Get value from inside a C#string
I need to take the value inside a string dynamically. The values of the string will always be in the following format: Ex1: "Aprovados por autorizantes da aplicação -> Fiscal Mestre" Ex2:…
c#asked Caio Vinícius 125 -
0
votes0
answers61
viewsQ: Load Load Control C#
I need to add a conditional Usercontrol. How? if the Pap_id variable is equal to 134, I need to load a Usercontrol displays two inputText for the user to enter a start date and an end date: var…
-
2
votes1
answer695
viewsQ: Webcontrol input text mask
I created a Usercontrol called Ucldatavigencia very simple. Only one label and two Texts input that will be responsible for receiving a start date and an end date. I would like to apply a mask to…
-
0
votes2
answers495
viewsQ: Concatenate SQL Server
I have the following appointment: SELECT UPPER(admatribuido) AS [admAtribuido], Count(admatribuido) AS [quantidade_admAtribuido] FROM ##tmp WHERE Month(dataabertura) = Month(Getdate()) AND…
-
1
votes1
answer601
viewsQ: Update DIV with Ajax Asp.Net C#
I’m setting up a Dashboard for tracking tickets, in it there are basically two things, 4 fields and 1 chart. I would like to update them periodically, tried with <meta http-equiv="refresh"…
-
0
votes2
answers818
viewsQ: C# Convert Dataset to JSON
I need to convert a Dataset into a JSON in order to recover in the View. The query there is just an example, because it is a large query. I’ve seen things like: string json =…
-
1
votes2
answers2588
viewsQ: C# Call Controller method Asp.Net MVC5 with Ajax
Hello, I have a method called GetData() in my Homecontroller that returns a JSON, I would like to pass the data to my View, but it always comes empty, I’m starting as a developer, and I’m already a…