Questions tagged as '.net'

2
answers

Can I know with SendGrid if an email arrives or does not reach its recipient when I send it?

var client = new SendGridClient(this.apiKey); var from = new EmailAddress(_from); var subject = _subject; var to = new EmailAddress(_to); var plainTextContent = _plainTextContent; var htmlContent =...
asked by 18.09.2018 / 19:30
3
answers

Dll .NET Framwerok 3.5 with references to DLL 4.5 (Do not Compile) C #

I am making a class library (DLL) to create a automation for Dynamics NAV 2009. My idea is to create a DLL that contains another embedded Inside (I've done it before) using: link The problem is that in order for the auto...
asked by 01.02.2016 / 17:59
1
answer

Change the port of a WebService

Good morning, I have programmed a WebService in C # with Visual Studio 2017 and it works perfectly. The problem is that once implanted in the production server IIS is listening on port 80, and they ask me to go listen on port 8282. Can you...
asked by 16.10.2017 / 19:42
3
answers

Variable Error Null in C # [duplicated]

Hi, I have the following code and when I run it I get the error that the variable facturaedit.Detallefacturas[i].IDDetalleFactura is Null. code: public ActionResult Edit(int id) { //Instanciamos el modelo (los modelos sie...
asked by 20.06.2017 / 20:07
2
answers

.NET validate if a column exists in an IDataRecord C #

I have a constructor that I feed through a query to BBDD through a method that, when called from different points of the application, will cause the result obtained from SELECT no have the same columns in all cases. To give yo...
asked by 26.04.2017 / 16:20
1
answer

Get cell value GridView

I have not found a way to retrieve the values of a gridview row with jQuery or JavaScript to place it in input . I do not have a code, I only place the most similar one that is to retrieve values from a table. This is how my table looks...
asked by 25.02.2018 / 06:53
1
answer

Doubts about Error in javaScript,

I am currently working with entity framework and ajax, I have a method in ajax that returns a list that I can load in a table and when I want to choose some item in particular I click on the row and this data loads them in form, general I charge...
asked by 16.11.2018 / 16:12
1
answer

Migrate MSSOAP.SoapClient30 from VB to c #

The issue is that I'm migrating a project from VBA to C #, and along the way I found: Set SoapClient = CreateObject("MSSOAP.SoapClient30") 'Objeto Web Service Soap SoapClient.ClientProperty("ServerHTTPRequest") = True so I started t...
asked by 30.10.2018 / 16:45
1
answer

Create a WebService in ASP.NET that returns indefinite number of columns in a database

Normally this is the structure of a WebService that I use in a project, but now I need to bring all the columns of a table that can have N number of columns, in the example I only receive 4 columns that exist, but what happens when I have 12, 15...
asked by 05.10.2018 / 03:36
2
answers

.Net leave Combobox option selected by default

I have a combobox that takes the DataSource of an Enum, the order of the enum I do not like, but I can not modify said enum, I would like to have an option (the third one) preset by default in the combobox. How could I do it? I ended up using...
asked by 18.07.2018 / 23:23