All Questions

1
answer

change value of received model properties in controller MVC C #

I have an ASP.NET MVC application in which, through a controller, I receive a model from a view (the MVC standard) as shown. [HttpPost] public ActionResult EnviarEALG(Modelo datos) { } But now by necessity I must pr...
asked on 27.03.2017 / 22:42
3
answers

Enable href depending on the user with session started for certain permissions

I need to enable a href to a certain user role using sessions. For example if X user has the active session. Example: if($_SESSION['usuario']=="X") enable you to open a league eg <a href="#gerencias.php">Gerencias Administr...
asked on 04.11.2016 / 20:53
2
answers

Graph in C # with Datagridview data

Hi, you could advise me or give me ideas on how to work with this, what I need is to insert a numeric value in the textbox and that this value is inserted inside the DataGridView and inserted into the value column and where it says password go a...
asked on 01.11.2016 / 20:30
1
answer

Procedure to give permissions to an Oracle 11g user?

I am trying to create a procedure that receives as a parameter the user to whom they wish to grant the tables permission directly, I know that it would be better with a role and simply grant it, but it is an exercise, to create a procedure that...
asked on 04.04.2017 / 03:58
1
answer

Problem when inserting new element in array

Hello, I have the following code: var fs = require('fs'); function search(text) { var response = []; fs.readdir('documents',(err, files) => { files.forEach(file => { if(file.toLowerCase().indexOf(text.toLowe...
asked on 03.04.2017 / 06:55
2
answers

Use of ampersand & in c to save value in variables

In this code printf("ingrese el numero a guardar"); scanf("%i",&a); What is the function of the aspersand (&) when saving the value and what is its name?     
asked on 02.04.2017 / 04:15
2
answers

Objecto undefined

I am printing an object dateImagen.boolean and I get an error that the Cannot read property 'boolean' of undefined , I do console.log(dateImagen) , but if I get the information that is this: Object {boolean: true, result: Ar...
asked on 07.04.2017 / 18:33
3
answers

How can I extract the data in this JSON using javascript and html?

I want to extract the data from this json by Javascript and HTML what I need is to show the data "ID" y "NAME" link { "mohademago": { "id": 4294825, "name": "mohademago", "profile...
asked on 13.04.2017 / 02:54
3
answers

Register with output variable using ASP.Net and SQL Server

I'm doing a web application with the ASP.Net C # language but I'm validating the OUT output to show me the error message: This is my procedure: ALTER PROCEDURE pAdminUsersEvaSmart @tipo INT ,@UserName VARCHAR(100) ,@ERROR V...
asked on 06.04.2017 / 20:13
1
answer

How does strcmp work in PHP?

I would like to know how strcmp works in PHP, since I have a doubt as to the result it throws, I know that when it is compared and they are equal it will result in 0, but in other cases the result varies a bit (1, -1 , 5,45 etc.), which would be...
asked on 09.04.2017 / 23:28