Questions tagged as '.net'

1
answer

Mysql criteria for the order of Rows

Good evening I hope you can guide me, I have two tables with the following information: (Client Table) clienteid nombre direccion telefono email --------- ------- --------- -------- -------- 001 gallo...
asked by 08.12.2018 / 01:20
2
answers

I try to upload files to the asp .net mvc server

I need your help I'm starting with asp.net mvc, I need to upload files to the server, this is my html: <form action="javascripts:;" method="post" enctype="multipart/form-data"> <input type="file" id="fileUpload" name="fileUpload" val...
asked by 13.11.2018 / 20:57
1
answer

Stored procedures (visual basic.net) and Mysql

CLASS CONNECTION Imports MySql.Data.MySqlClient Public Class Conexion Protected cnn As New MySqlConnection Public idusuario As Integer Protected Function conectado() Try cnn = New MySqlConnection("Server=localhost; Uid=root; D...
asked by 22.11.2018 / 14:46
1
answer

Using SendGrid V1 and C # how do I delete an email from the lists without knowing the type?

Using SendMail V1 and C # as follows I can know if an email is on the bounces list and I get information: var client = new SendGridClient(this.apiKey); var response = client.RequestAsync(method: SendGridClient.Method.GET, urlPath: "suppressi...
asked by 19.09.2018 / 23:18
1
answer

Select the first 7 elements of an enum and display them in a Combobox using datasource

I have an enum that, public enum Region { euw, na, br, lan, ru, oce, tr, jap, } The thing is that I would like to show the first 7 elements, or what is the same, all except the last one. Currently with comboBox1.DataSource = Enum.GetVa...
asked by 13.08.2018 / 09:59
1
answer

Dictionary, access the password. c # .net

I have a variable that stores a dictionary returned by a method, that is, the variable calls a method and it returns a dictionary. var listofchamps = SAPI.GetChampions(RiotSharp.Misc.Region.euw, data).Champions.Values; I attach the followin...
asked by 22.07.2018 / 14:39
2
answers

Read text block of a file

I have a problem, I want to read all the SELECT of a file. The SELECT must be all separated. The SELECTs are all separated by a space. All SELECT should be stored in a ARRAY or in a IEnumerable . Something like that I want to d...
asked by 05.07.2018 / 15:06
1
answer

Async page in aspx

I am developing a web page with .NET I have a method to send emails which I want to do asynchronously. So far everything has been done correctly, but in the design of the .aspx views I have the following problem. I have a MasterPage struct...
asked by 05.07.2018 / 10:07
1
answer

Problem with loading Internet Explorer browser controlled by Powershell

I'm trying to make sure that while the browser is ready, it waits for seconds until it is ready and the code is executed but this is skipped and the code is executed when the browser is not ready. How do I prevent this from happening? / p> cls...
asked by 24.04.2018 / 19:23
1
answer

Show all the images of a directory on my website

I have a solution in .Net which has a page that shows my images, I would like it to show all the images of a directory (folder), since there are so many I would not like to spend a lifetime referencing with an img src="" to each one of them I wo...
asked by 21.04.2018 / 19:12