I have a problem that I can not resolve in any way.
Well, I have a project in Asp.NET MVC as follows:
Home
Model
public class Objeto
{
public Objeto()
{
}
public Objeto(string nome, double valor, double perc...
Hello, I have a method to log in to the system, right after I need the user to select an option in a dropdown and save that value in a session.
Now I need to put the value stored in the session, inside a LINQ query.
I'll post the codes, which wi...
I'm developing in .NET MVC and in my application, I have a form that registers people via Ajax. This element should appear in a dropdown list, it should appear dynamically without refreshing the page, does anyone know of any way to do this?...
I have a new business rule in my project.
I need a details view, so I have a small form to save only two information: Delay and No Uniform.
I already have the table made. But I needed this form to save only those two information, not the e...
I'm using Nhibernate with WebAPI
I have 2 entities Profile and personLogin
Personalogin may have N Profile
and Profile 1 Person Login. However, when I go to the webservice PessoaLogin, the Profile reference only works if it is NULL if I add a Pr...
I'm developing a sales system. Follow the link:
Save Request - ASP.NET MVC
But when I finish the purchase and save the data in the database, I get the following error:
"An entity object can not be referenced by multiple instances of I...
I have a Controller that generates a list of Graphics as can be seen below:
[EXEMPLO DE DADOS]
Pergunta: Estrutura
Dados: [1, 3]
[2, 5]
[3, 1]
[4, 0]
[5, 10]
Pergunta: Organização
Dados: [1, 2]
[2, 0]...
Define several DataAnnotations for the template which the instance instance.
When the form submission is not for AJAX, everything works as it should, that is, ValidationSummary is populated with ErrorMessage defined in my classes....
Everyone! in my project, I'm having trouble mapping a primary keyless (PK) table, the application is breaking, when I implement the table in the MAP of my project.
public class Configuracoes
{
public int MaximoFilas { get; set; }...
Hello, I had a method to control access to menus, based on permissions. But nothing has stopped working and I get the error:
"Can not bind at runtime to a null reference"
I do not know what's been changed for this to happen.
Here is the co...