Questions tagged as 'asp.net-mvc'

1
answer

Error Intentun Savechanges () Entity Framework 6 ASP.Net MVC5?

When I update my gender object, it brings the date of creation with the following data, which should not because it has a value assigned in the database, I get the following date: The error that shows me when I try to do the savechan...
asked by 31.12.2018 / 14:57
1
answer

How to export to Excel data from a table (datatable) asp.net mvc 5

This is on my table I need to send to excel This is a part of my view <div class="panel panel-flat"> <div class="panel-heading"> <h5 class="panel-title">Tipo Planilla:<strong> @ViewBag.FrecuenciaPag...
asked by 15.11.2018 / 21:25
1
answer

Use Multiselect bootstrap "Does not show accents"

I do not know what I have to confirm to show me with an accent what I put in the nonSelectedText onInitialized: function($select, $container) { }, enableHTML: false, buttonClass: 'btn btn-default',...
asked by 08.11.2018 / 22:50
1
answer

ERROR: Another SqlParameterCollection already contains SqlParameter

I'm using SqlParameter, when I use it twice I get this error: {"Otro SqlParameterCollection ya contiene SqlParameter."} Here I use it the first time: SP2 using (ApplicationDbContext db1 = new ApplicationDbContext()) {...
asked by 28.10.2018 / 01:13
1
answer

Unable to load the file or assembly 'System.Web.Helpers'

I'm working on an asp.net mvc project with c #, everything was fine until I got this message. Error de servidor en la aplicación /. No se puede cargar el archivo o ensamblado 'System.Web.Helpers' ni una de sus dependencias. La definición del m...
asked by 15.10.2018 / 17:45
1
answer

How to change website URLs to be friendly?

At this moment I have to implement some SEO improvements in the portal that I developed, among them they ask me to change the URs so that they are more friendly. Is there any way to do it that does not involve changing all the names to the co...
asked by 08.04.2016 / 15:04
1
answer

use foreach in a mvc view

   In the ViewBag.Deducciones : bring me the deductions you selected previously.       In the ViewBag.DeducesEmployees : it brings me the deductions that the employee has selected (). The problem is that for every deduction I go through a...
asked by 17.10.2018 / 22:19
1
answer

How to fill an Html.DropdownListFor ()?

I need to fill Html.DropdownListFor() in my view through razor, so far I have the following, two classes where I get the data that I need to recover from my db plus the controller by GET to recover the data and send it to the seen...
asked by 03.09.2018 / 16:23
1
answer

How to use Node.js in asp.net MVC using Visual Studio?

I currently have a project created asp.net MVC in C # and I wanted to add code from Node.js. Download the Node.js from the package nuget and install it by creating a .bin folder containing node.cmd in the project I have the following code...
asked by 10.09.2018 / 20:36
3
answers

How to change the data that comes loaded with a dropdownlist of asp.net mvc with JQuery?

How about everyone having a problem with a dropdownlist, I want to filter data by the following status: -Active -Rejected -Pendiente but the dropdownlist that I have loaded already makes the corresponding filtering is just that I load the val...
asked by 14.08.2018 / 19:17