Top "Datagridview" questions

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

Unable To set row visible false of a datagridview

I have a DataGridView where I set DataSource: taskerEntities te = new taskerEntities(); var OMsMasterDescriptiveIndicators = te.MyTable.Select(x => new …

c# datagridview datasource
Gridview template field datasource

I've placed a gridview on my asp.net page, and am using a sql call to obtain the datasource. In …

asp.net datagridview templatefield
datagridview with datasource and combobox

I have a datagridview with a datasource attached to it made of a custom datatable: DataTable: 0 = Dictionary 1 = string 2 = string the …

c# datagridview combobox datacolumn
datagridview binding source filter

I am trying to filter Data out of a BindingSource - but it doesnt work. What am i doing wrong? …

c# datagridview filter bindingsource
DataGridView keydown event not working in C#

DataGridView keydown event is not working when I am editing text inside a cell. I am assigning shortcut Alt+S …

c# .net winforms datagridview keydown
C#: Adding Columns To Bound DatagridView With Code

// Getting data from this Admin class: public static IQueryable<Student> GetStudents() { DojoDBDataContext conn = new DojoDBDataContext(); var query = from …

c# winforms linq datagridview bindingsource
How can I center the heading in a column on a DataGridView?

I have a strange problem and it's probably a simple fix, but after much research, I cannot seem to find …

vb.net winforms datagridview datagridviewcolumn
Different ContextMenuStrip for DataGridView Cell, RowHeader and ColumnHeader

I want to set different ContextMenuStrip for DataGridView Cells, RowHeaders and ColumnHeaders. The idea is that when I right-click any …

vb.net winforms datagridview contextmenustrip header-row
Binding LINQ query to DataGridView

This is very confusing, I use AsDataView to bind query result to a dgv and it works fine with the …

linq linq-to-sql data-binding datagridview linq-to-dataset
Check if table exists with if statement in C#?

I try to put up an if statement to check if a table is already created. I only want to …

c# datagridview datatable exists readxml