Questions tagged as 'c#'

0
answers

DataBound values of an object for TextBox

How can I make a databound of an object into the form fields? The idea is to fill in the "textBox1" field automatically to update the "Name" value of the objClient automatically. I know that direct assignment works. objCliente.Nome = tex...
asked by 20.03.2018 / 13:52
1
answer

Passing a type created in runtime to a static method

EDIT My problem is this. I need to generate a lambda expression that is of a type that I will only know at the time of execution, ie the type to be used will be passed in the classType parameter of the controller below. But the type I cr...
asked by 23.02.2018 / 19:28
1
answer

Scanning a list and adding values [closed]

I am scanning a list and taking certain values, adding and saving it. In the first run I get the value, add it to an 'x' variable, and go to the second execution ... I get the value that was added to 'x' and sum to the value of the second exe...
asked by 02.04.2018 / 13:44
0
answers

Chart in asp.net [closed]

I'm developing a site in asp.net where I need to upload files (.mat), and receive values in a list to plot line graphics, with many points (about 200,000 points) on a single page. The plotting issue can be solved using Microsoft Chart Control, b...
asked by 22.02.2018 / 03:12
0
answers

Unable to read transport connection data: A connection from the remote host was forced to terminate

I am trying to do a file reading in the "csv" style. After reading it I have to add it to the database, however I get the following error=" Unable to read transport connection data: A remote connection was forced to be terminated by the remote...
asked by 22.02.2018 / 19:49
1
answer

Class structure for

I have the following XML returned by a service: <?xml version="1.0" encoding="iso-8859-1" ?> <mensagem tipo="0000" version="1.0"> <registro tipo="0000" version="1.0"> <header> <campos que não posso dispon...
asked by 13.03.2018 / 15:17
1
answer

How to avoid multiple registrations of a malicious "person"? [closed]

How can I prevent or make it as difficult as possible for a person or a malicious machine to make multiple entries on my site? My form consists of 5 fields, which are: Name Surname E-mail Password Sex Only email can not be...
asked by 07.03.2018 / 22:36
1
answer

How to handle events in C #

Using the "TcpListener" class I'm "listening" for a port where multiple clients will connect. So peaceful. In order to receive data from a client I used a Thread that generates an event whenever any data is received. However when creating the ev...
asked by 08.03.2018 / 19:46
0
answers

C # search the Office field in LDAP

Good afternoon, I need a great help, I have a DAP access authentication, it is working correctly, validating username and password. However, I need a DAP field returned, this field is the "office", where we store information about the user's enr...
asked by 21.03.2018 / 19:00
0
answers

Generate USPS International Label with EasyPost C #

I would like to generate a label ( tag ) international% of USPS with easypost , but when I enter address of Brazil or another country other than US , it of the error. Example:        
asked by 22.03.2018 / 03:38