Top "Gridview" questions

A Gridview is a control for displaying and manipulating data from a variety of data sources.

Check if list is empty in C#

I have a list of objects populated from a database. I need to display an error message if the list …

c# list gridview isnullorempty
Simple Android grid example using RecyclerView with GridLayoutManager (like the old GridView)

I know that RecyclerView has replaced the functionality of the old ListView and GridView. I am looking for a very …

android gridview android-recyclerview gridlayoutmanager
Getting value from a cell from a gridview on RowDataBound event

string percentage = e.Row.Cells[7].Text; I am trying to do some dynamic stuff with my GridView, so I have …

c# asp.net gridview
Android Recyclerview GridLayoutManager column spacing

How do you set the column spacing with a RecyclerView using a GridLayoutManager? Setting the margin/padding inside my layout …

android gridview android-recyclerview gridlayoutmanager
Get DataKey values in GridView RowCommand

I have a GridView with an associated DataKey, which is the item ID. How do I retrieve that value inside …

asp.net events gridview rowcommand datakey
How to hide a column (GridView) but still access its value?

I have a GridView with a DataSource (SQL Database). I want to hide a column, but still be able to …

c# asp.net gridview hide
GridView - Show headers on empty data source

In C# how do I still show the headers of a gridview, even with the data source is empty. I …

asp.net gridview header
How to find Control in TemplateField of GridView?

How does FindControl method works if I need to find any Control which is inside GridView Template, more specifically ItemTemplate? …

c# asp.net gridview findcontrol templatefield
How can I export a GridView.DataSource to a datatable or dataset?

How can I export GridView.DataSource to datatable or dataset?

c# asp.net gridview
ASP.NET GridView RowIndex As CommandArgument

How can you access and display the row index of a gridview item as the command argument in a buttonfield …

c# asp.net gridview