Questions tagged as 'c#'

0
answers

Error converting Delphi function to C #

Good evening everyone! I'm trying to convert a Delphi function to C # and I'm getting it, where am I going wrong? Delphi Code: function TCriptografa.CriptoBinToText(SText: string): string; var SPos: Integer; BKey: Byte; S: string[1...
asked by 05.12.2018 / 23:58
0
answers

Electronic Transaction Association (TTE) to Customer

I used the code below to populate the data associated with the client when creating it. In the customer table, the B2B fields are filled with the information entered, however, when entering the customers' ERP Primavera tab on the Trans tab. Elec...
asked by 21.11.2018 / 16:15
1
answer

How to go through CheckBox in WebForms automatically generated with JQuery

How to go through several CheckBox in the Click event of a button with C # and these CheckBoxes were automatically generated with JQuery? Home The HTML of the automatically generated CheckBox is this: <div class="col-md-12"> <div...
asked by 23.11.2018 / 13:26
0
answers

Sign an xml with digital certificate

I'm trying to sign an xml file, from an NFS-e. Here are the functions I've been given: public static MemoryStream stringToStream(string dados) { MemoryStream memoryStream; try { byte[] byteArray = new by...
asked by 23.11.2018 / 12:41
1
answer

Error saving monetary values in MySQL database

I have a table column of my bank called salario_base where it is of type Decimal(7,2) . I insert the value into a textbox , convert it and pass this and other variables to an insert class to complete this operation. The other...
asked by 23.11.2018 / 17:32
0
answers

how to change the material of an onclick object

I'm using unity3d, I have a prefab of a sphere and another of a cube, with a simple material, and I'd like to know how I can change the material of those objects by clicking a button on UI .     
asked by 02.11.2018 / 15:16
0
answers

How do I save my game menu (C #) [closed]

Hello, I'm having a problem when saving settings in the menu of my game, the resolutions and quality when pressing the save button, it saves. the problem is that I made a button that opens a panel with 2 other buttons, so that's fine. these butt...
asked by 02.11.2018 / 17:12
0
answers

Exporting DB content to a WORD table

Well, I was doing a job and I came across this situation: I need to export certain content to Word, but this content should be in a table of it. How could I do a While to automatically create Rows and Columns within C# itself? For now...
asked by 05.10.2018 / 01:42
2
answers

Merge multiple PDF files into one

I am developing an application to join several pdfs into one, I managed to do through two uploads, however, I would like in an upload to select multiple and unify the pdfs. can anybody help me? Here is the code already done: <asp:FileUpload...
asked by 02.10.2018 / 16:02
0
answers

Problem in searching for zip code in Windows Forms

I added the option to return the address through the zip code in a Windows Form. I used a web service to get this data and added it in the following method: private void ConsultaCEP() { var valor = txtCep.Text; try...
asked by 03.10.2018 / 03:35