Posts by Marcos Rebitte • 9 points
7 posts
-
-1
votes1
answer47
viewsQ: Modal passing data null
When saving to my modal the Controller receives Null. 1 - Modal model @model WebAutenticado.Models.CAD_DEVP @{ Layout = "~/Views/Shared/_LayoutModal.cshtml"; } @using (Html.BeginForm()) {…
-
0
votes0
answers65
viewsQ: Site does not display CSS after Publication
After publishing my site, css does not load across the entire page, getting only in HTML. I am using Bootsrap Less. My structure: Bundle: using System.Web; using System.Web.Optimization; namespace…
-
0
votes2
answers68
viewsA: Viewmodel with INSERT in two controllers
The solution found was the following: public ActionResult Create(NovoDevedorViewModel devedorViewModel) { if (ModelState.IsValid) { var cadDevViewModel = Mapper.Map<CAD_DEV>(devedorViewModel);…
-
1
votes2
answers68
viewsQ: Viewmodel with INSERT in two controllers
I own two Controllers: 1 - Register the CPF (CPF, Name) 2 - CPF Phone Registration (CPF, DDD, Telephone) Viewmodel: using System; using System.Collections.Generic; using…
-
0
votes1
answer293
viewsQ: How to order dropdownlist?
How can I order the Dropdownlist? <div class="form-group"> @Html.LabelFor(model => model.id_pessoa, "Pessoa", htmlAttributes: new { @class = "control-label col-md-2" }) <div…
-
0
votes1
answer72
viewsQ: Table within the View
I’m placing a table inside the Edit view. View de Edit (Contract) @if (Model.ContratoParcela.Any()) { <table class="table parcela-lista"> @foreach (var parcela in Model.ContratoParcela) {…
-
0
votes2
answers712
viewsA: Monitor performed SQL SERVER 2014 Insert/delete/update
Without using audit, only via Trigger. Using this Trigger creation model via SQL Dynamico, Voce can monitor actions. Create your _LOG table first and add below. DECLARE @tablename VARCHAR(100)…
sql-serveranswered Marcos Rebitte 9