Top "Datagridview" questions

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

Open dropdown(in a datagrid view) items on a single click

How can i avoid the double click on a DropDownButton used within a DataGridView? Right now I am able to …

c# winforms datagridview datagridviewcomboboxcell
Vertical text in datagridview

I want to show the text in the header cells in vertical orientation. How can I do it? Thanks

c# .net winforms datagridview vertical-text
How do I make a DataGridView immediately commit edits?

I have a master-detail layout with a section of popup menus (the Details) and a section with a DataGridView which …

c# datagridview master-detail undo
DataGridView Column Widths as Percentage

Is there any way to give each column in a DataGridView a percentage width of the total grid? I am …

c# .net datagridview cells dynamic-columns
Master / Detail datagridview with relation from type string in C#

I want to show a master / detail relationship using two datagridviews and DataRelation in C#. The relation between the master …

c# datagridview datarelation
Direct access to DataGridView combobox in one click?

I'm getting annoyed with clicking once to select a row in the datagridview, and then clicking again to click on …

c# datagridview
Is there an Attribute I can use in my class to tell DataGridView not to create a column for it when bound to a List<MyClass>

I have a class like this: private class MyClass { [DisplayName("Foo/Bar")] public string FooBar { get; private set; } public string …

c# winforms datagridview properties attributes
Preventing a new row from appearing in a DataGridView before current row is filled in?

I have a DataGridView in my WinForm application in C# 3.5. AllowUserToAddNewRow property is set true. When user types any text …

c# winforms datagridview datagridviewrow
Dealing with very large datasets & just in time loading

I have a .NET application written in C# (.NET 4.0). In this application, we have to read a large dataset from …

c# file-io datagridview large-data
Programmatically add cells and rows to DataGridView

I'm struggling with DataGridViewComboBoxCell. On some cases (let's say, events) I must preselect a value of ComboBox in my Form's …

c# winforms datagridview datagridviewcombobox datagridviewcomboboxcell