Questions tagged as 'mvc'

0
answers

How can I solve this problem?

I have created a MVC 5 project, I have it in a domain in link The problem is that when I want to logge me send me the msj that I will share in the screenshot. On the other hand, I host it in link and send me the msj that I will share i...
asked by 13.03.2018 / 21:01
0
answers

Centralize decimal format in ASP.NET CORE 2 views

In an MVC application with ASPNET CORE 2, I want to centralize in some way how the Decimal or Double values are formatted. Right now I use @string.Format("{0:N2}", valor) But I would like not to have to use in all the sites that I have t...
asked by 28.03.2018 / 21:08
3
answers

How can I make a Vista pass a ListModels to a controller? One of the fields of the Model is loaded by the user in the view

I have a view that corresponds to a survey. It is loaded with the questions and at the same time in the last column has a DropDowList with the possible answers. The problem I have is that I can not get my controller to receive the data of the qu...
asked by 13.03.2018 / 13:49
0
answers

How to obtain data from a user when logged in (asp.net MVC 5)

What I want to do is basically Login and show the user the information related to something like a Dashboard. for example, when you start a session in stackoverflow, it shows you the questions you have asked ... the same thing I want to do in...
asked by 26.03.2018 / 23:30
0
answers

error when publishing to remote server by iis credentials from visual studio

I can not publish to IIS LAN server from visual studio (c # mvc), but all other developers do. answer: you must navigate from visual studio to the server address \\ xxx.xxx.xxx.xxx and use credentials when required.     
asked by 12.03.2018 / 17:09
0
answers

Storage in several tables from a form in codeigniter

I have a base project that I do but I want to improve it, you will see: I came up with the easy idea that to register information of a client (which is divided into 4 tables in the BDD connected to each other) was to enter the data in 4 differen...
asked by 09.03.2018 / 16:29
3
answers

Error: Call to a member function query () on null

I'm doing a crud with MVC and POO following a course and I get the following error I take a while trying to solve the problem but I can not find a way, this is the file where the error marks me class EntidadBase{...
asked by 08.03.2018 / 23:34
2
answers

Help with traversing json in c # mvc

Friends, I appeal to you again, what I want to know is how I can travel this json. {"codigo_postal":"84100","municipio":"Nogales","estado":"Sonora","colonias":["Aguajito de la Morita","Felizardo Amador","Hector Soto","Jorge Leal","La Morita (E...
asked by 25.02.2018 / 19:15
1
answer

multiple query in nodejs

I want to show a post and the respective comments for this I have 2 tables in mysq l a " post " and the other " comments " Use mcv model view controller with nodejs and express . model.js getOne(id, cb) { conn.que...
asked by 13.02.2018 / 19:57
2
answers

Update database from View in MVC asp.net Core 2.0

I hope to express myself clearly and be able to get some help. I'm stuck with updating some fields in my database table from the View. Currently I could make it work but only update the data of the first result. How should it work? Payment...
asked by 15.02.2018 / 21:40