2
Answers

Cannot apply indexing with [] to an expression of type 'SQLDMO.Databases'



The following error occur in this line SQLDMO.Database db = server.Databases["ByDataBaseName"];

 Error 1 Cannot apply indexing with [] to an expression of type 'SQLDMO.Databases'


Pleas replay me ...
Answers (2)