The "DataSource" property of a DataGrid or DataGridView control is typically set to a ___________.
- DataSet
- DataTable
- DataView
- SqlConnection
The "DataSource" property of a DataGrid or DataGridView control is typically set to a DataSet. This allows the control to bind to the data retrieved from the database and display it in tabular format easily. The DataSet can hold multiple tables and relationships between them.
Loading...
Related Quiz
- Master-detail data binding is commonly used when displaying ___________ relationships from a database.
- Which ADO.NET method is used to open a database connection explicitly?
- How can you enable data binding to a DropDownList control in a web application?
- Which part of an Entity Data Model (EDM) is responsible for mapping entity properties to database columns?
- In ADO.NET Entity Framework, which attribute is commonly used to specify the table to which an entity should be mapped?