Questions tagged as 'c#'

3
answers

jQuery highcharts multiline

I have an MVC application and would like to clarify some doubts on how to implement a chart with the database data. I'm using jQuery to get the values from the database, but I did not understand how to grab these values and generate a graph usin...
asked by 14.02.2014 / 14:24
1
answer

How to create a dynamic GridView?

Someone already created a GridView where rows are already filled with values and in the last column of each row there is LinkButton "Retry" and when that LinkButton is clicked, repeat the line just below the clicked row ?...
asked by 31.01.2014 / 13:55
1
answer

How to consume EFD-Reinf's WebService in C #? (Shipping Events)

I am starting the EFD-Reinf information submission tests, in C #. From Visual Studio, I added a Service Reference to my project with the URL:    link I have the digital certificate installed on my machine. He requests permission...
asked by 13.11.2018 / 14:43
1
answer

Property containing only the KeyAttribute attribute resulting in a self-incrementing column in the database

If I'm not mistaken, this must have come in version 6.1.1 of EntityFramework and it was not like that in previous versions. I believe that a column only became auto-increment when the DatabaseGenerated attribute was declared with the...
asked by 13.10.2014 / 21:53
1
answer

How to get the values from a list of inputs with the same ID by WebForms?

I have a list of inputs that are automatically generated by script and they are inserted into a form getting like this: <input type="text" id="txtValue" name="txtValue" /> <input type="text" id="txtValue" name="txtValue" /> <inp...
asked by 07.10.2014 / 17:03
0
answers

Server can not attach a header after the HTTP headers have been sent

Good morning, I have the following code that I use to compress the controllers using GZip . I log in to the system normally, but if I try to change the company, the following error is displayed:    Server can not attach a header a...
asked by 27.12.2018 / 11:46
0
answers

Generic Repository with Dapper

I'm doing a test application where I want to see the performance and learn how to create a generic repository with Dapper, well I have some experience when I created a generic repository, but using EF6, trying to use the same logic made the cons...
asked by 13.12.2018 / 21:34
0
answers

Service with FileSystemWatcher is not listening forever

I'm doing a windows service in C #, which listens to a folder and every time it has an audio file it uploads. The problem is that it works, but after a few minutes of listening to the folder, it does not cause a problem, the service still sta...
asked by 18.12.2018 / 23:24
1
answer

Converting data into types such as int and double

I'm having trouble converting data from a database, for example I'm running a query like this: carteira ca = bc.carteira.FirstOrDefault(obj => obj.cpf == cepf && obj.codigo == cod); I get data information of type ca.valor ,...
asked by 02.06.2014 / 23:32
1
answer

I am validating a cpf field and I need to do a check in the database if this cpf has already been registered if I already bring the message to the user [closed]

//verifica cpf válido jQuery.validator.addMethod("verificaCPF", function (value, element) { // tamanho do cpf if (value.length < 11) return false; // retira pontos, virgulas e traços value = value.replace('.', ''); value =...
asked by 04.10.2018 / 00:53