多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

ou create a page in an ASP.NET Web application. The page retrieves and displays data from a Microsoft SQL Server database. You need to create a data source that can connect to the database. What are two possible ways to achieve this goal?()

  • A、Use an ObjectDataSource control and set its TypeName property to System.Data.SqlClient.SqlConnection.
  • B、Use a SqlDataSource control and configure its ConnectionString in the web.config file.
  • C、Use an XmlDataSource control together with an Xml control that represents the database.
  • D、Use a LinqDataSource control with entity classes that represent the elements in the database.
正确答案:B,D
答案解析:
进入题库查看解析

微信扫一扫手机做题