Posts by Evandro Silva • 149 points
9 posts
-
4
votes2
answers178
viewsQ: How to update all records of all tables that have FK of a table
I have the following tables: CREATE TABLE Contrato ( [Id [int] NOT NULL IDENTITY, [Nome] [varchar](150), [Ativo] [bit] PRIMARY KEY ([Id]) ) CREATE TABLE [dbo].[ItemContrato] ( [Id] [int] NOT NULL…
-
1
votes0
answers140
viewsQ: Generate a PDF of a Morris Graph
I’m developing an application that generates a report using Morris charts (https://startbootstrap.com/template-overviews/sb-admin-2/) The graphics are working properly, now I need to generate a PDF…
-
0
votes1
answer589
viewsQ: Send form parameter to controller via ajax
I have an Index with a form, I need to fill this form and when clicking the Filter button, call the controller using ajax. Index.cshtml @using (Html.BeginForm("ResultadoPesquisa",…
-
1
votes2
answers174
viewsQ: Webgrid with Radiobutton
I want to select a line from Webgrid through a Radiobutton and by clicking the button Visualise, carry a partial view with the information of the selected line. How do I pass the information from…
-
4
votes1
answer1805
viewsQ: How to pass parameter to MVC controller
How to pass the text or content of a DropDownList to the Controller by pressing a button? I tried using @model and I couldn’t. I tried adding the [HttpPost] in the Controller and using the type…
asp.net-mvcasked Evandro Silva 149 -
1
votes1
answer830
viewsQ: POST is not receiving JSON
I need some help with running a POST. 'Cause when I try to call my API (http://www.afectus.com.br/api/teste) for the execution of a Post, I am unable to pass the JSON to her. Follows the API used:…
-
0
votes1
answer163
viewsA: Xamarin - Accessing API that returns JSON
I found the problem I was trying to use the Jsonconvert.Deserializeobject(content) directly from the response I received from the API. To solve, I had to deserialize without defining a type, and…
-
0
votes1
answer163
viewsQ: Xamarin - Accessing API that returns JSON
Next, I am VERY new to this API issue. I created my first web application . net Framework 4.5.2. I created it very standard (according to VS 2015), and created a controller for testing…
-
3
votes1
answer146
viewsQ: How to encrypt a C-drive?
First to locate them, I have an idea of security, and to be able to put this idea into practice I would need to learn how to encrypt a USB stick. The idea is that the USB stick works as a 'key', and…