Top "Datagridview" questions

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

How to verify if a DataGridViewCheckBoxCell is Checked

I have bound a data table to a DataGridView, this data table has a column called "Status" which is of …

c# winforms datagridview datagridviewcheckboxcell
How to refresh datagridview when closing child form?

I've a dgv on my main form, there is a button that opens up another form to insert some data …

c# .net winforms datagridview refresh
Filling a DataGridView from SQLReader

Im a little stuck on some code that im writing An outline is that i am reading some data in …

datagridview vb.net-2010 sqldatareader
How to Casting DataSource to List<T>?

I have the following method that load products on a DataGridView private void LoadProducts(List<Product> products) { Source.…

c# winforms datagridview casting datasource
Save file dialog and export to Excel sheet

I had a datagrid view, and I had exported to an Excel sheet. The code worked well, but when the …

c# datagridview export-to-excel savefiledialog
What's better to use: a DataGrid or ListView for displaying large amounts of data?

I want to display >50000 rows in a table. Which is the best control to use: a DataGrid or a …

c# .net winforms listview datagridview
Import Excel data to DataGridView in Visual Studio 2010

Please help to fix importing data from Excel document to DataGridView control with following code: private void button5_Click(object …

c# datagridview import-from-excel
DataGridView to CSV File

I have a VB 2010 Express Project, that has a DataGridView in it, that I am trying to write to a …

vb.net csv datagridview streamwriter
Why is my bound DataGridView throwing an "Operation not valid because it results in a reentrant call to the SetCurrentCellAddressCore function" error?

When binding a DataGridView control to a binding source, I'm getting the following error in my application: Operation is not …

c# .net winforms datagridview
Custom column names for DataGridView with associated DataSource

How can I setup custom column names for DataGridView with associated DataSource? Here is some code: class Key { public string …

c# winforms datagridview datasource