When binding data to a list control, which ADO.NET class is commonly used?

  • DataSet
  • SqlConnection
  • SqlDataAdapter
  • SqlDataReader
When binding data to a list control, the SqlDataAdapter class is commonly used to fetch and manipulate data from a data source. It serves as a bridge between a data source and a DataSet, allowing you to populate the DataSet with data retrieved from the database. Once data is in the DataSet, it can be easily bound to list controls for display.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *