GridView


[ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types

I tend to use LINQ for just about everything I can. Many times this involves populating ASP.NET GridViews from code with anonymous types from LINQ. For example: The issue that I came across is that when I need to access data from that query during an OnRowDataBound event. When trying to access the item using […]

[ASP.NET] Multiple Command (Select, Delete, etc.) Fields in a GridView

I recently had the requirement to provide multiple select-type commands on an ASP.NET GridView that each resulted in a different action. Using an only provides you with the ability to have a single select, single delete, and single edit command. You cannot have multiples of each. I did, however, discover the . Using the you […]