Top "Datagridview" questions

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

DataGridView linked to DataTable with Combobox column based on enum

Having spent a lot of yesterday searching on this one I have to give up. I have a DataGridView linked …

c# datagridview enums datatable datagridviewcombobox
Cannot perform 'Like' operation on System.Int32 and System.String. DataGridView search and filter

I have a form that when I select a column name from a ComboBox, and type in a text box …

c# winforms datagridview int32
Export the dataGridView to Excel with all the cells format

I have this code that I know that it works fast CopyAlltoClipboard(dataGridViewControl); Microsoft.Office.Interop.Excel.Application xlexcel; Microsoft.…

c# .net datagridview excel-interop cell-formatting
C# DataGridView Automatically Adding One _Extra_ Row

[Microsoft Visual Studio 2008, Windows 7 Professional 64] I have a C# class that extends DataGridView: public class DataGridViewTest : DataGridView This class programatically …

c# datagridview rows extra
inserting data from datagridview to database

There are some existing data in the database and users will be entering new data into the datagridview which I …

c# sql database datagridview newrow
datagridview beginedit on new row automatically

i'm trying to set a cell to edit mode. The cell is in the new row (NewRowIndex). Everwhere else it …

c# datagridview editmode newrow
DataGridView update datasource directly after changed Checkbox value

I have a System.Windows.Forms DataGridView that is bound to a List<MyObject>. The class MyObject contains …

c# .net winforms datagridview datagridviewcheckboxcell
DefaultCellStyle format is not applied when DataGridView is bound

I have a code that binds datagridview to datatable through a binding source: _bind.DataSource = Table; lGrid.DataSource = _bind; In …

c# data-binding datagridview cell-formatting
How to make the ComboBox drop down list resize itself to fit the largest item?

I've got a DataGridView with a ComboBox in it that might contain some pretty large strings. Is there a way …

c# winforms datagridview combobox datagridviewcombobox