I need to connect to my database using a udl. I don't want to use the contents of the udl in my code - I just want to refer to the file.
Something like:
Private OledbConnectionString As String = "DataSourceName=C:\SidDev\CodeSource\VBnet\farms\Farms.udl"
Is this possible? If so, is the syntax correct? I realize it's not recommended, but it's the way I've been told to approach it.
By the way, totally new at all this; including object oriented programming.
Something like:
Private OledbConnectionString As String = "DataSourceName=C:\SidDev\CodeSource\VBnet\farms\Farms.udl"
Is this possible? If so, is the syntax correct? I realize it's not recommended, but it's the way I've been told to approach it.
By the way, totally new at all this; including object oriented programming.