Assign Required="true" to a password field, but the message is in English, as can be seen in the image below:
IwantedtocustomizethismessagebyleavingitinPT-BR<divclass="form-group">
@Html.LabelFor(model => model.Senha,...
I have a model, called CombustivelModels , where I made a Scaffolding generating Controller and Views , my doubt is, when doing a revision in this Model , you can update via Scaffolding o Controller...
I have a question and I already researched several sites but I did not get the answer. I develop systems in .Net with C # in the MVC standard and use the on-screen presentation in the traditional View with Razor form.
It turns out that I ha...
I made the scaffolding generating the controller, and Index is experiencing an error in
(f = > f.Cargo)
with this error:
Can not convert lambda expression to type 'string' because it is not a
delegate
the class Employee...
Good morning,
I was implementing the use of bundle in my ASP.NET MVC project, in the development environment worked perfectly. But when I go to the server it does not work. I was debugging in the browser and it gives the following return:
"Resou...
I'm having an association problem between two tables.
Student and Student tables_Course_Unit.
Public class Aluno
{
[Key]
public int cod_aluno { get; set; }
........
public virtual Aluno_Unidade_Curso Aluno_Unidade_Curso { ge...
I have the following code snippet in a method of my ASP.NET MVC application that tries to delete the directories and their files.
// efetuo processos de remoção de arquivos do banco de dados
await Context.SaveChangesAsync();
var itens = diret...
Good afternoon, guys.
I have an application that every client owns their database and I'm using code first. To update I'm always running the command update-database -force in the package console for each client database. Does anyone...
I am trying to fill a DropDownList with a selected value within a for , but it is not working properly.
What happens is that when Action Index returns the model to View , values are not being selected, always being the...
I have a relationship between Address and Academy where 1 address has 1 gym, and 1 gym has 1 address.
Academy Class:
public class Academia
{
[Key]
public int AcademiaID { get; set; }
...
//relacionamentos
public int Ende...