oucreateapageinanASP.NETWebapplication.ThepageretrievesanddisplaysdatafromaMicrosoftSQLServerdatabase.Youneedtocreateadatasourcethatcanconnecttothedatabase.Whataretwopossiblewaystoachievethisgoal?() A.UseanObjectDataSourcecontrolandsetitsTypeNamepropertyto System.Data.SqlClient.SqlConnection.B.UseaSqlDataSourcecontrolandconfigureitsConnectionStringintheweb.configfile.C.UseanXmlDataSourcecontroltogetherwithanXmlcontrolthatrepresentsthedatabase.D.UseaLinqDataSourcecontrolwithentityclassesthatrepresenttheelementsinthedatabase.
oucreateapageinanASP.NETWebapplication.ThepageretrievesanddisplaysdatafromaMicrosoftSQLServerdatabase.Youneedtocreateadatasourcethatcanconnecttothedatabase.Whataretwopossiblewaystoachievethisgoal?()
A.UseanObjectDataSourcecontrolandsetitsTypeNamepropertyto System.Data.SqlClient.SqlConnection.
B.UseaSqlDataSourcecontrolandconfigureitsConnectionStringintheweb.configfile.
C.UseanXmlDataSourcecontroltogetherwithanXmlcontrolthatrepresentsthedatabase.
D.UseaLinqDataSourcecontrolwithentityclassesthatrepresenttheelementsinthedatabase.