Questions tagged as 'c#'

1
answer

Problem with list of objects from plain text file in C #

I have a problem with the manipulation of the information in a plain text log file, I try to save the properties of each file log in a c # model, and then save the models that have been generated in a list of the same type , I already manage to...
asked by 20.08.2018 / 18:05
1
answer

Assign variable int [] values

I'm using this method, I'm having difficulty.    int [] ReadWriteMultipleRegisters (int startingAddressRead, int   quantityRead, int startingAddressWrite, int [] values)       Read / Write Multiple Registers (Function code 23).       starti...
asked by 20.08.2018 / 20:41
0
answers

Modify content from a DataGridView and validate update

I am working within C # with Windows Forms, I developed an application where the DataGriedView records are loaded from the database: My question is how I can edit the records from the datagriedview and at the same time give enter valida...
asked by 22.08.2018 / 17:05
2
answers

validate TextChange function subtraction of numbers

Hello good morning to all, I have to do a calculation (calculate the returned to deliver) between a total and cash delivered, I am working with decimal values. The calculation operation is performing well, I enter the values and it automatically...
asked by 20.08.2018 / 15:38
2
answers

Open a form from the main one and modify a principal variable without creating it again

using visual studio I need to modify a variable that exists in the main form from a secondary one. To move from the main to the secondary I used the ShowDialog property to avoid closing the first because the secondary was small and I use it o...
asked by 20.08.2018 / 17:01
0
answers

How to consume Qualtrics REST API in C #?

I am starting a new project and I am new to this, what I want to do is use the REST API of Qualtrics , which is a page of surveys, so you will find different URLs containing your API, the documentation explains how to make the structure of the...
asked by 20.08.2018 / 01:31
1
answer

It takes more than 5000 angularjs records and c #

I'm trying to show 5000 records and I'm using angularjs and c # mvc5 if it shows me all the records in the datatable just that it takes to show them, what can I do to optimize this and not be late, it's worth mentioning that in the console it sh...
asked by 18.08.2018 / 00:14
1
answer

I have a sequence in ORACLE that adds 1 to a row, as I show the current value when I open the APP

I need to show where the account is going so that when printing is shown and with this code sumo 1 to the consecutive // contar 1 al consecutivo cuando imprima var oracleConnectionStringBuilder = new OracleConnectionStringBuilder...
asked by 17.08.2018 / 21:40
0
answers

POO Encapsulation C #

I'm doing a modularity exercise in which I want to put in practice the encapsulation of data and methods. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modul...
asked by 28.08.2018 / 23:29
0
answers

How can I generate a pdf with the iTextSharp library?

In C # I have a DataGridView with data obtained from a database in MySql and I want to generate the PDF document but it marks an error when creating the body of the PDF in the method GenerarDocumentos private void btn_imprimir_Click(object sen...
asked by 28.08.2018 / 22:29