Top "Datagridview" questions

DataGridView is a Windows Forms control used to display and edit tabular data.

How to disable the last blank line in DatagridView?

For C# Window Form, there is a tool called DataGridView. If we use that to display data, it shows an …

c# datagridview
DataGridView: how to focus the whole row instead of a single cell?

I'd like to use the DataGridView control as a list with columns. Sort of like ListView in Details mode but …

.net winforms datagridview
Datagridview - remove part before the first column

I was wondering if when using the datagridview control you can remove the thing that looks like a column before …

winforms user-interface datagridview appearance
Event that fires during DataGridViewComboBoxColumn SelectedIndexChanged

I have DataGridView with two columns. The first column is TextBoxCol(DataGridViewTextBoxColumn) and the Second one is ComboBoxCol(DataGridViewComboBoxColumn). How …

c# .net winforms datagridview datagridviewcomboboxcell
DataGridView does not refresh after dataset update vb.net

I have a vb.net form with a dataGridView The dataGridView data source is the dgvTableAdapter with this sql statement …

vb.net datagridview dataset tableadapter
Scroll to bottom of C# DataGridView

I'm trying to scroll to bottom of a DataGridView in a C# WinForm. This code works with a TextBox: textbox_…

c# winforms datagridview scrollbar
How could I Drag and Drop DataGridView Rows under each other?

I've DataGridView that bound a List<myClass> and i sort it by "Priority" property in "myClass". So I …

c# .net datagridview drag-and-drop
How to bind dataGridView predefined columns with columns from sql statement (without adding new columns)?

Is there a elegant way, to bind predefined dataGridView columns with results from a SQL statement? Example: dataGridView1.Columns.Add("…

c# data-binding datagridview datatable dataview
DataGridView first column,first row, is selected on Load, I don't want this

So basically the very first column in the first row is always selected, I can't figure out a way to …

c# winforms datagridview
Horrible redraw performance of the DataGridView on one of my two screens

I've actually solved this, but I'm posting it for posterity. I ran into a very odd issue with the DataGridView …

.net winforms performance datagridview nvidia