I have an input:
<input id="imagens" type="file" multiple name="file" accept="image/x-png,
image/gif, image/jpeg" required />
And the following javascript code:
var fileUpload = document.getElementById("imagens");
var envia...
I'm having a hard time making a simple functionality. I have an area called "project":
Thegoalissimple:IneedtocreateanHtml.ActionLinkthatgeneratesalinktoreturnthehomepagethatisOUTSIDEoftheprojectarea,suchasthesiteroot.Itriedtocallitliketh...
What I would like to do is to convert a value from within a JSON to Double and apply String.Format("{0:N}", valor_JSON)); so I would be converting 1000 -> 1.000 .
But since it has already been answered you do not have t...
I need to render an image returned from a controller to display it to users.
I believe that this code is very close to the final result, but I can not reach this final result, a standard image is always rendered as if it could not be displaye...
I need your help,
I have two forms,
Form 1
Form 2
no Formulario 1 I have a date field, filling this date field I want it to copy to Formulario 2 without typing, can it do this using JAVASCRIPT ?
I can pull data from...
In key duplication when burning with EntityFrameWork in competition with many users, it only allows 5 attempts and in 6 SaveChange () tag (example 1).
If it is with SqlConnection it does not give a problem (example 2).
Example 1:
Public...
I see the examples of how to use the Google Maps API and generally in the examples I see, there is always a default (initial) coordinate.
Now, let's say that I make a program and distribute this application to several clients in Brazil, for e...
I have an application in the root folder of the server running normally, in web.config I have just after the configuration tag:
<configuration>
<location path="." inheritInChildApplications="false"> </location>
After cre...
Good afternoon!
I'm implementing an application in the Web Matrix. My page is in .cshtml (c # with html). I want to use the ViewBag class, but I can not find it in @using System.Web.Mvc; or elsewhere. I searched the internet but I did...