There is a DropDownList control that is bound to a SqlDataSource source control the retrieves a list of customers from the Northwind database.
有一个 DropDownList 控件,它绑定到一个从 Northwind 数据库中检索客户列表的 SqlDataSource 源控件。
Now that I've finished the overview, I will compare and contrast the retrieval and modification of data using both the SqlDataSource and the ObjectDataSource.
既然我已经完成了概述,那么我将对使用SqlDataSource和ObjectDataSource来检索和修改数据进行一下对比。
When loading an ASP.NET page that contains a data-bound control linked to a SqlDataSource, the SqlDataSource communicates directly with an underlying database.
当加载包含链接到SqlDataSource的数据绑定控件的ASP.NET页时,SqlDataSource直接与基础数据库进行通信。
应用推荐