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

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

  3. Horizontal scrolling in Datagrid - Radzen.Blazor Components - Radzen

    Mar 10, 2025 · Blazor DataGrid Component with code-less paging, sorting and filtering of... Use RadzenDataGrid to display tabular data with ease. Perform paging, sorting and filtering through …

  4. How do I make XAML DataGridColumns fill the entire DataGrid?

    I am using DataGrids in XAML (not Silverlight) with resizable columns, the DataGrid will expand if the user resizes the screen. Currently if the widths of all the DataGrid columns are less than the

  5. 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?

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

  7. How can I paginate a WPF DataGrid? - Stack Overflow

    Apr 24, 2009 · How can I set paging in a wpf DataGrid? The code project article above is quite good for getting this done with ADO tables. While for most applications, it is likely to work great, and is easy to …

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

  9. c# - Avalonia DataGrid isn't visible - Stack Overflow

    Jul 14, 2024 · Never used the Avalonia DataGrid, but does it make sense to set AutoGenerateColumns="True" when you also manually declare <DataGrid.Columns>?

  10. 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.