Questions tagged as 'datagridview'

1
answer

Error creating extension for DataGridView C #?

I have already used extensions for other components and did not give this problem, you are giving error only with DataGridView . The component finds the extension, not the error, the error only displays when compiling the project. Whe...
asked by 01.06.2017 / 18:45
0
answers

How to unify all columns DataGridView C #

I would like to join all the cells (columns) of a row (Row) of a DataGridview, that is, I would like to have a row without side borders in the cells. Something in style: DataGridViewCellBorderStyle.SingleHorizontal However, this sh...
asked by 25.08.2016 / 22:54
1
answer

How to traverse a DataSet based on data contained in a DataGridView?

I need to fill in a datagridview that already contains the relation of all the items. This is based on material movement records that are in DataSet . datagridview already has all the items, like for example: A, B, C, D., et...
asked by 23.08.2016 / 01:15
0
answers

How to create a CellValueChanged event in GridView ASP.NET

I have a dynamic GRID, which after loading allows the user to modify it, changing the values of the columns by dragging the objects (DIV) between them. In WinForms, the DataGridView has an event called CellValueChanged, however in ASP.NET for th...
asked by 27.08.2015 / 19:34
0
answers

Printing Multiple DataGridView

I am creating a report in vb.net with my DataGrid data and trying to send it to print. But in this project I'm using two DataGrids, one for a Relatori table, and one for the Report table. The code I usually use for printing a DataGrid would b...
asked by 02.07.2015 / 17:03
1
answer

Searching Data with DataGridView

I'm working with WinForms and I'm trying to implement a DataGridView(dgv) in a search form that I have in my project. What happens is: I have two dgvs that form the kind of master-detail. I did this by following this tutorial . The wa...
asked by 01.05.2015 / 20:48
3
answers

Delete a row in Datagrid

I'm trying to delete the line in which it has the focus of a datagrid , I've used the following code: datagrid.Rows.RemoveAt(e.RowIndex); You are returning the following message:    Uncommitted new row can not be deleted. Wha...
asked by 21.03.2015 / 15:41
2
answers

How to pass rows from one DataGridView to another?

I want to pass the selected rows from one datagrid to another, for example, I select the rows, I click on a button , and they switch to another. Is to make a add - remove items. I have two datagrids , one will receive Products , and the...
asked by 29.01.2014 / 23:03
1
answer

How to split a file line without using Substrings in C #?

I have created a file where I save line-by-line data as morada|nome|telefone|nif , meaning each variable stored in the file is divided by | . I remember there being a method of dividing this line into 4 to add to a dataGridView wi...
asked by 27.09.2017 / 10:39
1
answer

Generate values and dates of parcels in a datatable C #

Hello, I have a form where a Total Sale Value is placed, the Number of Payment Parcels. Then I would like my DataTable that is located on the other Form to display the values and due dates with their value divided by the number of months....
asked by 02.02.2018 / 20:31