Questions tagged as 'c#'

1
answer

Secure Application

I'm developing a system that will be used in my work to control the machines, I finished the first step, now started testing. As in my machine I do not use antivirus I had no problem in this part, but when installing in another machine the execu...
asked by 31.05.2017 / 13:51
1
answer

Problem with for and string.Remove

I'm having a problem with a program that I did for encryption and decryption from a hash, do not judge how it works, I did it while it was too much. What is not working is decrypt, I believe it is by the replacerbyhash() function, but I c...
asked by 31.05.2017 / 00:23
1
answer

question of multiple choices in APS MVC 5

I'm developing a project where it will have multiple choices. My problem is that I am not able to show only the questions I want, for example when clicking on the questions the user will be presented with the question number 1 with the questions...
asked by 15.06.2017 / 22:00
1
answer

Use methods of a project written in C ++ in C # (In the same Solution)

Hello, I need to use methods written in C ++ in a project written in C #, inside .NET (both) and that are contained in the same solution (as shown in the image below) ItriedtocompiletheprojectsandaddtheC++projectreference(whichwascreatedi...
asked by 29.05.2017 / 04:00
2
answers

DDD C # - On which layer should I implement the data export part

I am developing an application in C # and WPF, with several registers such as Customers, Suppliers, Products, etc. I am using the DDD concept and am having a question about how to implement a data export module. I will need to export data and th...
asked by 08.07.2017 / 17:01
2
answers

Dynamically set timeline in html on page .aspx

I would like to ask a little help from the forum, to dynamically set up a timeline in html using the asp.net font or code behind C #, in a Web Forms application with SQL database. I need to mount I imagine, for this a for each in the aspx code t...
asked by 08.07.2017 / 17:00
1
answer

Get value of 2 columns in GridView to perform calculation

I am developing a simple system of Input / Output of users in an environment and I have a Grid with some data and among them 2 fields of type DateTime, being Input and Output. I need to get the values of these ALL-LINES fields from my Grid an...
asked by 20.05.2017 / 20:25
1
answer

Return type dynamic WebApi

I'm writing a WebApi method that returns the HttpResponseMessage type. I have a query that returns a dynamic type that would return the query for the data because it is different information. The return of the data ends up with an erro...
asked by 08.06.2017 / 20:41
2
answers

Generate an excel file from a data grid C #

I'm trying to generate an excel file from a datagrid, and this is generating the following error: Anunhandledexceptionoftype'System.InvalidCastException'occurredinEletronicTaxNotes.exeAdditionalinformation:TheCOMobjectoftype'Microsoft.Office.In...
asked by 02.05.2017 / 15:44
1
answer

Make CheckBox in C # [closed]

How to insert CheckBox into the Form, from a database. Where will the table field be the Text of the CheckBox? Example: Tabela -- 0|Versao 1|2.9.15 2|2.9.16 put 2 CheckBox for the user to choose the supported version.     
asked by 02.05.2017 / 11:24