Questions tagged as 'mvc'

0
answers

Modal window with 02 bootstrap views with c # mvc

Someone could help me, I have a mvc c # master-type detail application, to add detail in the main view I load a modal window (bootstrap) that contains another view (not partial view) I select an option of a dropdownlist, when I I accept, return...
asked by 20.02.2018 / 03:30
1
answer

Java MVC SQL statements that return fields from multiple tables

I have the following method to access data from two different tables, I am using the MVC pattern and my question is whether it is correct to return a ResultSet object in this method and if so, in what way can I access the data that contains the...
asked by 03.02.2018 / 23:57
3
answers

only show date in the View without modifying the model

and intentionally formatting and I did not find it, how can I do it the model is generated by the framework I just have to format it in the view @model IEnumerable<PROGRAM.Models.Lista> <table> <tr > <...
asked by 18.01.2018 / 15:37
0
answers

I need to load a menu from the database in the view of my .net mvc project

I have a table menu in Sql Server and I'm trying to do a recursive function that loads the menu with all of its children, now my table menu has the following: Where ParentID has the id of the parent that corr...
asked by 16.01.2018 / 15:31
0
answers

php does not save in database

good, I'm doing a php mvc tutorial and I have the problem that I do not run the PDO, I thought it could be xampp problem, so change to wamp, and even delete the instance of mysql that had already installed before, thinking that it could be a pro...
asked by 24.01.2018 / 13:42
1
answer

Load variables depending on selected item MVC C #

Inquiry Good, I would like to save variables by default after selecting an item in a select (to then insert them into the database). In my case the select "State of work" (which is loaded by call to database). The idea is that depending on th...
asked by 08.01.2018 / 22:25
1
answer

Is there any way to save a variable somewhere other than in the BD in Laravel 5.5?

I'm trying something half crazy. The use case is that every 2 years the Board of Directors changes, so this year it will change to the XXXVII Council (It is currently in the XXXVI). It made me absurd to create a table just to save the number of...
asked by 06.01.2018 / 04:40
1
answer

Save to a variable selected value of a select

I wanted to know how I can save the selected value of a select in a variable, and then send it to the controller. I'm working with MVC C # VISTA @ {     Layout = null; }                <title>MESES</title> <fo...
asked by 03.01.2018 / 15:36
0
answers

Deploy Web Application MVC does not generate Controlllers

I have a doubt, regarding a app web with architectural pattern (MVC) with VS2017 Comunity Edition , and sql server . It turns out that the app compiles without problems, is made in several layers, and when publishing the solut...
asked by 18.12.2017 / 21:35
0
answers

Problem when using header () function in php

Good morning, colleagues! I have a problem using header () in php, I tell you I am using mvc natively and the dashboard of my app I use it in the construct of my template class and it is called from the index therefore it is always invoked!...
asked by 11.12.2017 / 05:52