Questions tagged as 'datagrid'

1
answer

How to convert a data to "1" or "0" and be registered in a datagridcheckbox?

I am new to programming and I am learning by practicing. The first thing I did was the sqlite connection with c # . Then store the data ("generated" and "not generated") of the fields "cpComprobante" and "cpEstado" in a table. I need help on...
asked by 17.04.2017 / 19:30
0
answers

Datagridview consumes unselected data

The problem I have is that the point of the add button is to go to the gridview on the right only the data in which the checkbox is palomated, but in this case if I do not select anything, it brings me this data: WHAT ARE THE DATAGRIDVIEWSECTION...
asked by 27.12.2018 / 18:42
1
answer

Clear selected data from the datagridview

Hello, what I want to do is delete the selected data in the datagriedview what I have from my code button "Remove" (gives me erores) in the line foreach(DataGridViewRow c in DataGridViewSelectionArea.Rows) : private void BtnQuitar_...
asked by 26.12.2018 / 22:28
1
answer

Error deleting records from a DataGridView

My code does not show errors but when I want to use the button, it sends me this error, I would like to know how to solve it. My "REMOVE" button code private void BtnQuitar_Click(object sender, EventArgs e) { foreach(DataGridVie...
asked by 27.12.2018 / 01:01
2
answers

What event do I have to use to visualize data from a DataGrid of a selected cell?

Hello, how are you? I have a method that is working well for me but it's not really what I expect. private void dgFleteros_CellContentClick(object sender, DataGridViewCellEventArgs e) { DataGridViewRow row = dgFleteros.Curr...
asked by 15.12.2018 / 18:12
0
answers

Calculations in a datagridview

I want to make a table with a datagridview to enter with textbox data for example a column that is of loan another of interest another of payment to the week and the last the total In the total goes the result of the operation of (loan * interes...
asked by 08.12.2018 / 20:09
0
answers

Use fields defined in EDM class improper of the database

I'm doing a procedure with which I want to transfer series to a place and show where they moved to perform the action of showing the data, I use a datagrid and the following query private void CargarGrilla() { decimal id...
asked by 30.11.2018 / 16:17
1
answer

DataGridView column type C #

I have a DataGrid with a DataGridViewComboBoxColumn column, but I want to pass it to the DataGridViewTextBoxColumn column type, so I do the following if (miDataTable.Rows.Count > 0); { // elimina la colum...
asked by 19.11.2018 / 18:12
1
answer

How to load certain tables of a DataGrid - MVVM - UWP?

I just want to create a Datagrid to load a query from the database, using this example link but I do not understand exactly how I charge the list. But I found this code <controls: DataGrid x:Name = "DataGrid" ItemsSource = "{Binding Pl...
asked by 01.11.2018 / 15:30
0
answers

Change interface when clicking on a List in Flex

I'm doing a school project that includes an interface created in Adobe Flex (I'm using version 3) and I want to create in one of the interfaces a kind of manual that has a title, a text box and an index, and that When you click on the index, the...
asked by 12.10.2018 / 23:16