About 60 results
Open links in new tab
  1. The Difference Between a DataGrid and a GridView in ASP.NET?

    Like the DataGrid control, the GridView control was designed to display data in an HTML table. When bound to a data source, the DataGrid and GridView controls each display a row from a DataSource …

  2. c# - ¿Como llenar un DataGrid con registros obtenidos de una base de ...

    Apr 8, 2018 · Quiero llenar un DataGrid que tiene columnas predefinas y los datos se obtienen de una base de datos. Anteriormente utilizaba el siguiente codigo para llenar el DataGrid realizado con C# …

  3. How to exclude NewItemPlaceholder in a WPF DataGrid from being ...

    Jun 29, 2025 · There are two different NewItemPlaceholder. One in DataGrid, the other in CollectionView. Almost always used from DataGrid, but in general the second one can be …

  4. Change DataGrid cell colour based on values - Stack Overflow

    Apr 5, 2011 · 177 If you try to set the DataGrid.CellStyle the DataContext will be the row, so if you want to change the colour based on one cell it might be easiest to do so in specific columns, especially …

  5. How can I set the color of a selected row in DataGrid

    In my case, the reason was that I also had a CellStyle in my datagrid, and the CellStyle overrode the RowStyle I was setting. Interestingly so, because the CellStyle wasn't even setting the background …

  6. Radzen treeview with datagrid - Radzen.Blazor Components - Radzen

    Jan 20, 2025 · I am trying to create a tree with datagrid. I checked the documentation of treeview but I need to implement a datagrid inside the the treeview.(that means I have n number of childlist and …

  7. c# - Datagrid binding in WPF - Stack Overflow

    The DataGrid is derived from ItemsControl, which relies on its ItemsSource property to define the collection it binds its rows to. Hence, if list isn't a property of an object bound to your control's …

  8. c# - Disable selecting in WPF DataGrid - Stack Overflow

    Mar 23, 2010 · Learn how to disable selection in WPF DataGrid using C# with practical solutions and examples discussed by the community.

  9. c# - right click context menu for datagridview - Stack Overflow

    Feb 9, 2015 · While this question is old, the answers aren't proper. Context menus have their own events on DataGridView. There is an event for row context menu and cell context menu. The reason …

  10. Why is this datagrid not rendering? --> update figured it out ... - Radzen

    Aug 31, 2023 · i suspect there is an issue between the pageload set value not appearing in the Data bind list which is failing the subsequent bind and rendering of the datagrid until that set property …