oucreateapageinanASP.NETWebapplication.ThepageretrievesanddisplaysdatafromaMicrosoftSQLServerdatabase.Youneedtocreateadatasourcethatcanconnecttothedatabase.Whataretwopossiblewaystoachievethisgoal?()

A.UseanObjectDataSourcecontrolandsetitsTypeNamepropertyto System.Data.SqlClient.SqlConnection. B.UseaSqlDataSourcecontrolandconfigureitsConnectionStringintheweb.configfile. C.UseanXmlDataSourcecontroltogetherwithanXmlcontrolthatrepresentsthedatabase. D.UseaLinqDataSourcecontrolwithentityclassesthatrepresenttheelementsinthedatabase.

时间:2023-09-20 09:53:56

相似题目