Questions tagged as 'c#'

1
answer

Why do I get this error when I get listed by means of the service, "objectDisposedException"?

When the database has regular data there was no problem, but when it was growing it falls and only shows an exception "objectDisposedException". this is the query made var listaPersona = service.GetPersona_SelectAll_Complete().Where(p =>...
asked by 14.09.2017 / 18:06
1
answer

When sending mail from C #, it does not remain in the Sent Items folder

My problem is the following I am sending mail from a smtp server that was properly mounted, it is not the smtp.live; he sends the emails well, but the problem is that it does not remain in the folder of sent items of the mail from which it was s...
asked by 18.08.2017 / 15:41
1
answer

MySql authentication problem

It turns out that after I did all the steps to tell the database, add connections, until then everything went great, until when I finished adding my tables and their field, that I execute my program I get this. I made a button in my meno that al...
asked by 18.08.2017 / 12:42
1
answer

Execute a Javascript from code-behind .net 4.5

I am developing a management process to a database from a webservice and since the process takes more than 20 minutes I need to show the user messages in a <textarea> in a part of the page, without updating the page for this place...
asked by 23.08.2017 / 18:56
0
answers

Error entering data to a Datagridview in C #

I have a DataGridView that has two functions depending on whether you select the Agregar or Modificar button: This is the DataGridView : If I do Click to the button Agregar of the first image...
asked by 11.08.2017 / 21:00
1
answer

How to optimize a class so that I can return a list or an entity

Dear All. I am new to the platform c # I am developing an application in 3 layers, in the business logic layer I make a client query which brings me a list and I fill it with a datagridview according to a search criteria, examples by names or...
asked by 16.08.2017 / 20:09
1
answer

How to put a background color to a text in a PdfContentByte of ItextSharp in C #?

Good morning. I am creating a PDF with ItextSharp 5.5.10 and in it I have to include texts with a white background in certain positions. The PDF page contains a background image. For this I am using PdfContentByte but I can not get my white b...
asked by 10.08.2017 / 22:11
1
answer

How can I use a DLL written in C

I'm a little new with this library management. It turns out that I need to use the GNU Libmicrohttpd library found on this link link . This library the inconvenience that I have found is that it is written in C and the project that I am d...
asked by 16.08.2017 / 15:37
1
answer

When I run my project, you exit this error

I have a project in xamarin with C #, I execute but I get this error please help Código Descripción Proyecto Categoría de proyecto Ruta de acceso Archivo Línea Columna Categoría Origen Estado suprimido Herramienta Error...
asked by 22.08.2017 / 20:42
0
answers

Update Class values that have Bindig to TextBox in WPF

How about, I found a problem, I have textbox that have binding , but I realized that the value in the class is not updated until I click on the textbox , I mean that I shows the desired value but if I do not click on the te...
asked by 04.08.2017 / 18:52