Posts by Cedric S. • 323 points
16 posts
-
0
votes1
answer281
viewsQ: How to use parameters in the sql query using Dapper?
How can I make a simple select using Dapper and passing more than one parameter? Method: public IEnumerable<Locais> ConsultarPorTermo(string termo) { const string sql = @"SELECT * FROM Locais…
-
2
votes2
answers1851
viewsA: What is the problem of using [n]varchar(max)?
I’ll try to explain as best I can: Initially in relation to difference: char: corresponds to a type of data of fixed size, used for armezanar values that have well defined size (CPF, Telephone...).…
-
0
votes1
answer72
viewsA: Julia error VS Code and Juno / Error Julia VS Code and Juno
According to the documentation of Julia, you must do so: julia> i = 1; julia> while i <= 5 println(i) global i += 1 end The error that appeared is due to variable n be declared out of scope…
-
1
votes1
answer110
viewsA: Pagseguro Session with Asp.Net MVC?
According to the microsoft documentation, it is recommended to use the Httpclient: ! Important It is not recommended that you use the Webclient class for new development. Instead, use the…
asp.net-mvcanswered Cedric S. 323 -
-1
votes2
answers534
viewsA: Check if a sequence of numbers is present in another
You can convert the values of a and b into a string and treat them the way you want, example: Switching to string: str(a); Finding the value: result = re.search('This', test) We can extract the…
-
5
votes4
answers2085
viewsA: Does the date conversion always remain in en-BR?
Try to do: string d1 = DateTime.Now.ToString("yyyy-MM-dd"); Or else if that’s the case: d1.ToString("yyyy-MM-dd", System.Globalization.CultureInfo.GetCultureInfo("pt-BR"));…
-
0
votes1
answer80
viewsA: Keep tab color after clicking on it
Using Bootstrap 4 as well as other frameworks you can facilitate your work, besides of course to configure the style the way you want. Here is an example of how to leave an active tab between other…
-
1
votes1
answer173
viewsA: How to Add :Correct Javascript?
Since you are using Jquery the answer is as simple as you can see using the function . Hover() of Jquery $( "li" ).hover( function() { $( this ).append( $( "<span> ***</span>" ) ); },…
javascriptanswered Cedric S. 323 -
0
votes1
answer149
views -
2
votes1
answer412
viewsQ: What does it mean to say that, an app is Webview? What is the relationship with Xamarin?
Starting studies on a Xamarin project, I found a number of nomenclatures and some explanations that seem contradictory, so I have some doubts: I heard that Xamarin and Xamarin.Forms, NAY are…
-
0
votes1
answer1493
viewsA: Visual Studio does not start installer
Before anything desisntale any components you have downloaded. Check the System requirements for the version you intend to use. You can download the installer via the official website, and choose…
-
0
votes1
answer136
viewsA: My modal does not carry
Using Front-end frameworks such as Bootstrap, you make page creation much easier. Bootstrap has very simple modal components to implement, as you can see in this example, as well as in bootstrap…
javascriptanswered Cedric S. 323 -
3
votes2
answers114
views -
0
votes1
answer95
viewsQ: How to send an "Email Marketing" in ASP . NET?
At first: I am sending an email using the standard ASP . NET service as code below public class SendMail { public bool SendEmail(MailModel mail, string subject, string body) { try { string…
-
0
votes2
answers379
viewsA: How to make a path of the pages accessed on a website
These paths are nothing more than links that redirect to specific pages using only HTML is possible to build them, including changing their style using CSS normally. Below is a link from w3schools…
-
-1
votes1
answer184
viewsQ: How to configure the credentials of a webRequest?
How do I perform an ASP NET MVC 5 request in this way: Method = post; Authentication credentials = xxx:yyyyy (i.e., username, followed by two points, followed by password, encrypted in Base64…