Questions tagged as 'c#'

0
answers

Save in the database a column of the datagrid

I need to get the value of the discount column of my datagrid and save it to my database, I can calculate it when I register the consumption according to the quantity, follow the code below: foreach(varleiturainleituras){totalConsumo+...
asked by 31.10.2018 / 11:56
1
answer

Doubt when searching for items with Entity

Well, I have to get all the sales items done. Every item is recorded with a CARRINHOID on a sale, on the sales table I have the CARRINHOID. How do I get all these items? I made this code: public static List<ItemVenda> BuscarItensPorVenda...
asked by 11.11.2018 / 02:41
0
answers

Cell does not display all information (.CSV)

I am generating a .CSV file in my project in C #. Most of the information comes out correct, but when it has a large number of numbers, the cell does not show all: andthefileisgeneratedlikethis:CreateFunctionCallvararquivo=Service.CriarArqu...
asked by 30.10.2018 / 12:40
1
answer

Read user input via JavaScriptExecutor or promt in Selenium Webdriver C #

I have 4 test environments. When running the Selenium script, I want the user to tell me right after the browser opens, in which environment the script should run. So the script will direct the test to the correct environment. Example:...
asked by 07.11.2018 / 18:20
0
answers

Error Element Reference malformed in signedXml.ComputeSignature

Good morning, I'm newbie to nfe and I'm trying to send the science event of an access key to get the complete xml retrieve the code below the error when I try to call the signedXml.ComputeSignature method. the error only occurs when I define the...
asked by 27.10.2018 / 14:26
0
answers

How to make a space split? [duplicate]

I have this text: "resultados 2018 295 1 br" How do I separate by space and put in strings? example: string ano = argumento[0]; // iria ser 2018 string ano = argumento[1]; // iria ser 295 string ano = argumento[2]; // iria ser 1 string...
asked by 26.10.2018 / 23:25
0
answers

DataGridView Row Index

Good afternoon !! I'm implementing a code and would like a help. I'm filling a grid with data dynamically, recovering from bank step to a label and label to grid. It displays in order, but I'd like it to display in descending order. ex:...
asked by 26.10.2018 / 20:34
3
answers

Aligning twiter bootstrap buttons inside a Table

My buttons inside the table are breaking the line when a column is added to the table, they are getting like this: Mycodeisasfollows:<divclass="row"> <div class="col-md-4"> @using (Html.BeginForm("Index", "Clientes", FormMeth...
asked by 01.11.2018 / 19:54
1
answer

Xamarin.Forms - ListView only displays if I click on the screen.

Hello, I have a problem. Have my listView, where it brings the information as it should, but this information is only displayed when clicking on the screen. If you do not click on the screen, the information will not appear. Does anyone...
asked by 28.10.2018 / 16:53
1
answer

how do I get the id from the information to be passed to the textbox

I wanted the textbox with the information about that student to be filled in with the student's MR (primary key). CREATE TABLE ALUNO( RM_ALUNO INT NOT NULL, NM_ALUNO VARCHAR (40) NOT NULL, SERIE_ALUNO VARCHAR (30) NOT NULL, DTNASC_ALUNO DATE...
asked by 16.11.2018 / 18:54