Questions tagged as 'asp.net'

0
answers

A record in SQL is inserted twice from ASP.NET C #

** <button runat="server" id="cmdSavep" class="btn btn-success" onserverclick="savepago">Guardar</button>              SqlConnection conn = new SqlConnection(); SqlCommand...
asked by 30.10.2018 / 18:33
2
answers

Save image temporarily loaded with "AsyncFileUpload"

I have the following to show an image when loading it with the AsyncFileUpload, the problem that I have is that it saves the image in the route that I put it, but I would like that route to be temporary because to save it I want to occupy the bu...
asked by 23.10.2018 / 20:36
0
answers

how to consume web api by mvc in a synchronic way?

I need to consume a web api through an mvc project synchronously, however most of the examples are asynchronous, I have the following code: [HttpGet] public async Task<ActionResult> Buscar(int? id) { //Get...
asked by 24.10.2018 / 21:20
0
answers

Can not read property 'UI' of undefined

Very good to everyone. I have a problem with an aspx application that I am doing. A while ago I realized that in the Chrome console gives me this error.    Uncaught TypeError: Can not read property 'UI' of undefined       at Array. (center...
asked by 22.10.2018 / 14:52
1
answer

Edit Register asp.net web form

please I need to know how to modify the automatic login at the moment of registering the user, I am new to this and well now register but log in and I would like you to just register and if you are going to access it go to the form Login....
asked by 22.10.2018 / 17:45
0
answers

Can you host a web page in .NET to Firebase?

My question is yes did anyone try to host an application in asp.net in the free hosting of firebase ? I clarify that in my case it is a static page, without a database (only pages aspx , HTML, JavaScript , C...
asked by 18.10.2018 / 17:21
1
answer

ASP.NET Core injecting DbContext

I get this error in the "catch" when injecting data: Can not access to disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewh...
asked by 22.10.2018 / 22:01
1
answer

sending parameters from asp.net mvc to sql server

I need to send these parameters to Sql Server to be used in my stored procedure: (int[] DedudccionesId, DateTime FechaDesde, DateTime FechaHasta) //POST: Detalle Planilla Empleado [HttpPost] [ValidateAntiForgeryToken]...
asked by 23.10.2018 / 05:38
1
answer

How to validate if a string string already exists in asp.net?

I would like to know how I can do to validate in asp.net if a text string entered is equal to another. I am doing it using the ValidationResult method but it does not work, I leave the code. public class ValidacionPlacaExistente {...
asked by 16.10.2018 / 07:24
0
answers

Refresh in multiselect

I have an application where I am using 4 multiselects, one depends on another to fill and I fill it with jquery, the first multiselect filled it with direct fields, and once I choose an option or several, I fill the second multiselect without pr...
asked by 11.10.2018 / 17:12