Question:You need to add a string named strConn to the connection string section of the application configuration file.
Which code segments should you use in sequence?
To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
A Dim myConfig As Configuration = <br />� ConfigurationManager.OpenExeconfiguration <br />(ConfigurationUserLevel.None)<br /><br />myConfig.ConnectionStrings.ConnectionStrings.Add(<br />�New ConnectionStringSettings("ConnStr1",strConn))<br /><br />myConfig.Save()<br /><br />
B myConfig.ConnectionStrings.ConnectionStrings.Add(<br />�New ConnectionStringSettings("ConnStr1",strConn))<br /><br />Dim myConfig As Configuration = <br />� ConfigurationManager.OpenExeconfiguration <br />(ConfigurationUserLevel.None)<br /><br />myConfig.Save()<br /><br />
C Dim myConfig As Configuration = <br />� ConfigurationManager.OpenExeconfiguration <br />(ConfigurationUserLevel.None)<br /><br />myConfig.ConnectionStrings.ConnectionStrings.Add(<br />�New ConnectionStringSettings("ConnStr1",strConn))<br /><br />ConfigurationManager.RefreshSection("ConnectionStrings")<br /><br />myConfig.Save()<br /><br />
D Dim myConfig As Configuration = <br />� ConfigurationManager.OpenExeconfiguration <br />(ConfigurationUserLevel.None)<br /><br />myConfig.ConnectionStrings.ConnectionStrings.Add(<br />�New ConnectionStringSettings("ConnStr1",strConn))<br /><br /><br /><br />