Questions tagged as '.net'

1
answer

Pass a list from the action in my view in MVC 5

I have the following query in the Action Then in my Vista I try to show the table in the following way using @ item.cantRevised I would also like to know if in MVC 5 you can pass a list in this case consult with LINQ through t...
asked by 16.06.2018 / 20:44
0
answers

Expander and DataGrid with c #, execute one event inside another

I expose my case, I have an Expander that starts closed, I expand it and with that I fill a DataGrid. My problem: When I click on a row in the DataGrid, I want the Expander to close, so I put in the event SelectedCellsChanged(object se...
asked by 13.06.2018 / 19:16
0
answers

Avoid excel messages VB.net

I have an application that makes EXCEL imports, but I get messages that I want to prevent them from coming out. For this, I use xlsApp = New Excel.Application xlsApp.Visible = True xlsApp.DisplayAlerts = False xlsWB =...
asked by 01.06.2018 / 09:37
1
answer

Consume Api rest with Visual Basic.net

beforehand thanks for any help, I would like to consume an api rest that has authentication OAuth2.0 ie by token. I would like to begin is to be able to make the request post to the url sending the credentials but I have no idea how to do it...
asked by 28.05.2018 / 04:22
1
answer

Upload an excel to visual studio and pass it to sql server

I have a project to which I need to upload files. I have to upload an excel file, select the file from the computer and pass it to a sql server database. I have tried with tools such as sql server data tools, but apparently it only allows me to...
asked by 24.05.2018 / 15:04
0
answers

ASP.NET - Crystal Reports error in security

The following security error occurs when running the reports in Crystal Reports on a host: The web.config is the following:                                                                                                                ...
asked by 22.05.2018 / 07:04
1
answer

Encrypt audio url to block access to the mp3 resource

I have a list of audios and two types of users. Some can [play] and others [play and download]. The audios charge them dynamically after a query to the BD and I show them with the following code: <audio controls="controls" controlsList="...
asked by 16.05.2018 / 01:43
0
answers

How to use a blob file for a procedure?

I am working in Genexus 15, with the generator in .net. I have a transaction that contains a structure like this: ID NOMBRE CAMPO1 CAMPO2 BLOB (tipo pdf) I want to use the blob field, as input to a transaction, which takes a pdf adds a wate...
asked by 14.05.2018 / 15:13
1
answer

error in row path of a reader () inside another reader ()

I have this method where I try to place a while read() into another with a different command name to retrieve data from my database, but it generates an error that says    {"There is already an open DataReader associated with this Comm...
asked by 07.05.2018 / 04:32
1
answer

Why do I get this TaskCanceledException error when consuming an api per post?

I tell you that I am making an application in asp.net mvc 5 before which I am consuming an api by means of asynchronous methods Task<> . For this I have a method created with which I consume data through request post but it gives me...
asked by 07.05.2018 / 17:13