About 57 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 …

  2. Newest 'datagrid' Questions - Stack Overflow

    Dec 16, 2025 · In a WPF DataGrid, if I use AutoGenerateColumns and bind it to my collection of class objects, it displays enums as a combobox automatically where I can choose between all …

  3. How to customize DataGrid in WinUI3 via C# - Stack Overflow

    Feb 26, 2024 · DataGrid table = new DataGrid(); table.ColumnWidth = DataGridLength.SizeToCells; table.AutoGenerateColumns = true; table.ItemsSource = …

  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, …

  5. c# - ¿Como llenar un DataGrid con registros obtenidos de una …

    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 …

  6. c# - Datagrid vs Gridview - Stack Overflow

    Jan 19, 2011 · Possible Duplicate: The Difference Between a DataGrid and a GridView in ASP.NET? What is main difference between Data grid and Grid View in asp.net?

  7. Repeater, ListView, DataList, DataGrid, GridView ... Which to choose?

    Sep 26, 2008 · So many different controls to choose from! What are best practices for determining which control to use for displaying data in ASP.NET?

  8. c# - WPF DataGrid cell value changed event - Stack Overflow

    Dec 23, 2015 · WPF DataGrid cell value changed event Asked 9 years, 11 months ago Modified 6 years, 3 months ago Viewed 66k times

  9. 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 …

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

    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 …