In ADO.NET, what is the purpose of the DataGrid control in the context of data binding?
- Binding data to UI controls
- Displaying data in a tabular format
- Executing SQL queries
- Retrieving data from a database
The DataGrid control in ADO.NET is primarily used for displaying data in a tabular format. It allows users to view data retrieved from a data source, such as a database, in a structured grid layout. This makes it easier for users to visualize and interact with the data.
Loading...
Related Quiz
- In a SELECT statement, what keyword is used to specify which columns to retrieve from a table?
- A distributed transaction in ADO.NET involves multiple ___________.
- In ADO.NET, the ___________ property of a command object specifies the maximum amount of time a command can run before being terminated.
- How can you improve the performance of a LINQ query that involves multiple joins and filtering conditions?
- What is two-way data binding in ADO.NET, and how does it differ from one-way data binding?