In ASP.NET, the ___________ event of a DropDownList control is commonly used for postback and data binding.
- SelectedIndexChanged
- DataBound
- Load
- SelectedValueChanged
The correct option is 1. SelectedIndexChanged. This event is commonly used for postback and data binding in ASP.NET when dealing with the DropDownList control. It triggers when the selected item in the DropDownList control changes.
Loading...
Related Quiz
- When working with stored procedures, you can define _________ parameters to pass values to the procedure.
- In ADO.NET, the ___________ property of a command object specifies the maximum amount of time a command can run before being terminated.
- Data binding to list controls like ListBox and DropDownList is often used to present data to users in a ___________ format.
- Which approach allows you to define entity classes and then generate a database schema from those classes in Entity Framework?
- How can parameterized queries help prevent SQL injection attacks?