Greetings, I have problems with a DropDownList in ASP.net MVC, the website filters the Teachers but at the time of saving gives the following error:
This is the error that the System shows:
Exception Details: System.NullReferenceExcepti...
I am using ASP.NET MVC4 and I find it difficult to bring data stored in the tables in the database.
I understand that there are some clauses ToList() that could list the data, but currently the methods I use always return me null...
I want to show the names of people who do not have a departamento
The data is:
+----+---------+----------------+ +----+--------------------+
| id | Nombre | idDepartamento | | id | NombreDepartamento |
+----+---------+--------...
Good friends, I inform you that I have a problem with Crystal Report on a server IIS .
Before publishing if it works for me, but when I mount it in the Servidor IIS it gives me this error
The system can not find the...
For an ASP.NET MVC5 application I have created a ModelBinderProvider for a certain type of data.
If I add the new ModelBinderProvider to the BinderProviders collection in the Global.asax it works perfectly.
ModelBinderProviders.BinderProvid...
I made a view that relates the role of the user to the user, created the view with the dynamic check boxes that can register roles and then assign it to the user, only when sending the marked roles, in the controller does not return to the contr...
I am managing a project with MVC and EF 6.2 , in my model I have an entity that has four fields:
public class Entidad
{
public string campo1 {get; set;}
public string campo2 {get; set;}
public string campo3 {get; set;}
pub...
I have this code that makes me a query an action of my controller, which returns a list in JSON
function CargPregRegist(valor) {
$.ajax({
type: 'POST',
url: '@Url.Action("CargPregTipo")',
data: "tipo=" + valor,...
I have this view that you need the Audit model but the masterPage has @Html.Partial("/Views/component/panelNavbar.cshtml") conflict with the Audit model with ConfMaster how to solve this?
Index Audit
@model IEnumerable<C...