About 38,500 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. reactjs - The Data Grid component requires all rows to have a …

    Mar 28, 2022 · I know I have to use getRowId, but how do I use statId in oppose to id? It is unique. Or generate an id property for each one of them? Error: MUI: The data grid component …

  3. How to refresh datagrid in WPF - Stack Overflow

    Jul 4, 2012 · My source is in a MySQL database, I've made an update command and now I need to refresh my DataGrid. MySqlCommand cmd = new MySqlCommand( "update request set …

  4. Set a padding on dataGridCells in WPF - Stack Overflow

    I have tried using the DataGrid.CellStyle property by adding a setter on the DataGridCell.Padding property as well as using the DataGridColumn.CellStyle property in the same way with no …

  5. Show "No record found" message on a WPF DataGrid when it's …

    Jan 14, 2011 · If there is no record available, I want to add a TextBlock on data grid, below the header, showing the message "No Record Found." Consider the attached image for reference.

  6. How to add a DatePicker to DataGridTextColumn in WPF

    Sep 8, 2013 · This probably works, but it's not a copy/paste job, as it seems, because myDate is out of scope - all the other columns can be defined in the context of the DataGrid's binding, but …

  7. How to set the DataSource of a DataGrid in WPF?

    Mar 22, 2011 · I need to set a table from a database to be the DataSource of a GridGrid in WPF. In Windows Forms the property is called DataSource but in WPF no such property exists, so …

  8. wpf - Datagrid : Is there no Sorted event? - Stack Overflow

    I need to know when a WPF Datagrid has been sorted by the user. Why is there no Sorted event? I can only find a Sorting event. I also investigated the CollectionView and ListCollectionView …

  9. How to add a new row to datagridview programmatically

    Apr 8, 2012 · You can add the data of a datatable to a datagridview just by setting the datasource of the gridview equal to the datatable datagridview1.DataSource = yourDataTable

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

    Feb 26, 2024 · I have a DataGrid table (from CommunityToolkit.Controls), created by C# code (creating via XAML doesn't work for me). DataGrid table = new DataGrid(); table.ColumnWidth …