I am trying to transform an aspx web page(VB.NET) so that it has a code behind. I have done all the changes according to a book I am following but I cannot seem to get the following code to work.
Public Class CodeBehindDemo
Public Shared ConnectString As String = _
This code seems to work ok in VS.NET but when I try to run the same in DreamweaverMX it flags up the error; BC30451: Name 'ConfigurationSettings' is not declared.
for each sub-procedure I am connecting to the datasource using; Dim cnn As String = (CodeBehindDemo.ConnectString)...which has been changed from (ConfigurationSettings.AppSettings("MyDataSource")) when it was originally mixed with the HTML.
Why am I getting this error? Why is it asking me to declare ConfigurationSettings when it has already been declared?
Your help would be greatly appreciated.