Questions tagged as 'mvc'

1
answer

mvc Details receives a null value

Use VS 2015. I have a list of clients. When I choose one, when I get to Details I notice that the user_name field arrives null. private salon_de_belleza_bd2Entities db = new salon_de_belleza_bd2Entities(); public ActionResult Index()...
asked by 17.04.2018 / 18:43
0
answers

Fill DropDownList with data obtained from a different controller with MVC

I'm starting in this MVC , I had already done a few things in C# , VB.Net and well I still qualify as a rookie just 3 weeks with the MVC . Well, my question is this, I am currently developing a website with MVC where I have two...
asked by 13.04.2018 / 18:02
2
answers

How to return a list to a controller by post

I load my list by getting a list of people and the charge in an html table but then I have to return the same list by post but it returns empty to me [HttpGet] public ActionResult GestionUsuarios(string f) { Response res = new...
asked by 03.04.2018 / 19:08
0
answers

execute two methods from the codeigniter driver

I'm working with codeigniter, and I have a method which goes to two functions of the model, the problem is that it does not do what it says in one of those functions, it only does the first. controller code (the method that calls two function...
asked by 04.04.2018 / 16:31
1
answer

How to get extra hours in Jquery

I have an html with Jquery but I want to get the extra hours with the following code, in my html I have 4 input type="time": for the entry ( ✓ ). for the output ( ✓ ). gets the hours worked ( ✓ ). the extra hours, which would be obtain...
asked by 30.03.2018 / 08:02
1
answer

Javascript does not calculate when working with @using (Html.BeginForm ("", "", FormMethod.Post))

I have a view in which within it I add HTML and Javascript to do mathematical calculations, until then everything works fine, the problem arises from the fact that I use the @using (html.beginform ...) ... then this Javascript stops working, wha...
asked by 29.03.2018 / 09:35
0
answers

because it says that the code is not defined if it is a variable that I take from the database?

I'm trying to access my pc with the ip address, and it normally leaves me, but I install a virual machine on my pc and when I put the ip of the virtual machine I get this error, 3 more errors come out but they are all similar to this, they put p...
asked by 28.03.2018 / 17:02
3
answers

save in the database with ajax?

Hello developers, I am trying to save data in my database using ajax, but at the moment of running my app it seems to omit the portion of the code that would allow me to save the data, this is the code I am using. <script> $(".clMotivo")...
asked by 04.04.2018 / 03:06
2
answers

Delete table record with composite key

I'm starting to use EntityFramework and MVC in C # .NET, and I have a problem trying to delete a record from a table that uses a composite key. Driver: // GET: DocenteCursoes/Delete/5 public ActionResult Delete(string curso, string do...
asked by 13.03.2018 / 21:18
0
answers

MVC Multiple EDMX with equal tables mapping error from CLR to EDX

I have multiple EDMX projects in my project which contain different databases. These databases have most of the tables with the same name. Within my project I record in one or in another database according to the logic I require it. I have al...
asked by 13.03.2018 / 21:23