Questions tagged as 'datagridview'

1
answer

How to put € symbol in DataGridView

I have a DataGridView with numeric values and some of them represent monetary values, but the database comes just the number and wanted to put the currency symbol in front of the value. This is the code I use to load my DataGridView; public...
asked by 08.07.2017 / 13:02
2
answers

Right-click options menu in selected row in datagrid

Hello, I have the following problem: I have several records in datagrid and I want the moment I select a record and right click on it, a menu with options for the selected line appears. The only options in this menu are delete, details and...
asked by 26.05.2015 / 15:38
1
answer

Add buttons in the DataGridView cell

I'm developing a Windows Form C # activity control application for a company, however I would need to display the activities as buttons within the GridView cell. I've tried: DataGridViewButtonColumn uninstallButtonColumn = new Data...
asked by 08.01.2015 / 18:16
1
answer

C # - Instance property name in a DataGridView

I have a Products class with the following attributes: public class Produto { public int cod { get; set; } public string codBarras { get; set; } public string nome { get; set; } public Categoria categoria { get; set; } publ...
asked by 04.06.2018 / 14:33
1
answer

Play value of a grid that is in form to another grid in another form C # windows form

Hello, I'm here with one more situation requesting help because I have not yet found it in the searches.  I have a form that I put a Gridview in the form has button to open another form of query and when I click on an item from the list it adds...
asked by 02.11.2017 / 01:23
1
answer

How to delete rows from a datagridview

I'm developing a C # program and would like to know how I can block / delete a sql row in datagridview . The line I wanted to delete / block is the last one that is selected in print, I wanted to know if it is possible to block or delete b...
asked by 21.08.2017 / 13:15
1
answer

How to do date search through dateTimePicker?

How do I search through a dateTimePicker (with ValueChanged event) dates entered in a Data Grid View? When you load the year you want all the records for that year to appear, then load the month and show all records for that year in th...
asked by 04.09.2016 / 14:26
1
answer

Use inner join with BindingSource

I'm trying to query an access database using inner join along with BindingSource , this binding will send the data to a Datagridview . However, when the data is loaded into the grid, the displayed results are a select comm...
asked by 26.08.2014 / 20:18
1
answer

See changes (delete) in the vb.net grid

Hello, I would like you to help me with the following .. I have a form that does a search for a code with several grids and a button, this button makes a lot of changes in the various grids but I also want to delete some lines with one delete qu...
asked by 10.12.2014 / 13:23
0
answers

Sql Server in C # using BindingSource

I'm in a project where I have a sale screen. When you make a sale, a method checks if the customer has an account. If he does not have it, he creates one for him, so far so good. But if the customer already owns this account, he needs to change...
asked by 17.08.2017 / 18:45