Questions tagged as 'mvc'

1
answer

using selectedValue from DropDownList

Working with ASP.NET Core 1.1 Visual Studio 2017 - EntityFramework 1.0.0, Microsoft .Net Framework 4.7.02046, SQL Server 2012 LocalDB C # I am making my first experience with these tools. I follow the example ContosoUniversity developed in the...
asked by 12.12.2017 / 23:08
1
answer

Login with different users

Hello stack overflow partners. I have the following Login with 3 types of users. It happens that when entering the login controller. It stays blank and I do not know what else happens. It worked without having to use the switch an...
asked by 07.12.2017 / 22:33
1
answer

Take the value of a cell in a table

Hello friends I am new in this I am creating an application to generate sales and I would like your help I want to take the returned values for quantity and products to get the total I hope you can help me greetings. @using DP_Prueba.Models @m...
asked by 06.12.2017 / 05:26
1
answer

mvc .net view does not work

When I go into the audiologe menu of my .net application I get the following error: Server error in the application '/'. The model element passed to the dictionary is of type 'System.Collections.Generic.List'1 [serviexpress.auditoria]', but t...
asked by 19.11.2017 / 01:18
1
answer

How to convert from string to varbinary?

I am working in the c # language and I would like to know how to convert a string data to varbinary since I am doing a query to a database (SQL Server) and it returns the data in string and one of those data I need to assign it to a variable tha...
asked by 19.11.2017 / 02:14
1
answer

Hide MVC driver and action

Good afternoon, I hope it's a good question. I want to hide or change how you see the URL of the actions and controller. Is it possible? For example, I want it to look like this: link link Something like that     
asked by 13.11.2017 / 16:20
1
answer

send the selected option value of the view to the MVC controller

when you press any of these two tabs <li class="active"><a data-toggle="tab" href="#Saldos">Saldos</a></li> <li><a data-toggle="tab" href="#resumen">Resumen</a></li></ul> I want you to s...
asked by 14.11.2017 / 16:48
1
answer

Calculate age php MVC

Notice: Undefined index: difference in D: \ wamp \ www \ project \ model \ modelpersona.php on line 30 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE [23000]: Integrity constraint violation: 1048 Column' difference 'can...
asked by 11.11.2017 / 19:20
1
answer

Edit a form in laravel

Somebody can help me, I do not load the data in the view of editing in laravel. I'm making a query so you know which record to edit .. I have seen that this is often done: $asignacion=C_materia::find($id); $id = $asignacion->idc_...
asked by 10.11.2017 / 01:47
2
answers

ado.net stored procedures asp.net mvc 4

I am working on n-layers asp.net mvc 4 c # web and I want to list an SP that contains inner join and that is listed when an ID is sent . the topic esque to list I do it in the following way in my DAL: public List<Solicitudes> ListarSoli...
asked by 07.11.2017 / 15:56