About 61 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. 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 …

  3. How can I set the width of a DataGridColumn to fit contents …

    I have a WPF DataGrid that contains some data. I would like to set the width of the columns such that the content fits in and never gets cropped (instead, a horizontal scroll bar should become …

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

    Apr 24, 2009 · How can I set paging in a wpf DataGrid?Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges,

  5. How to Create DataGrid with .NET MAUI Preview 7?

    Aug 20, 2021 · Building a complete datagrid with considerations for cell editing, column sorting, and data binding with virtualization in mind is a big task. You could just get one already written …

  6. WPF hide row in datagrid based on condition - Stack Overflow

    I need to hide rows in datagrid based on parameters and values in the datagrid. I figured to do something like this; foreach (System.Data.DataRowView dr in myDataGrid.ItemsSource) { …

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

  8. How do I bind a WPF DataGrid to a variable number of columns?

    9 I have found a blog article by Deborah Kurata with a nice trick how to show variable number of columns in a DataGrid: Populating a DataGrid with Dynamic Columns in a Silverlight …

  9. How to bind WPF DataGrid to ObservableCollection

    Can you give me a tip how to bind a WPF DataGrid to ObservableCollection. I had seen some posts and didn't find a direct answer. There and everywhere intricate problems are described …

  10. Display 'No Rows' message after applying filter in MUI DataGrid

    Mar 24, 2021 · NoRowsOverlay: Display when there is no row passed to the DataGrid (rows={[]}). NoResultsOverlay: Display when there is row data in the DataGrid, but the local filter returns …