May be your declaring again in ServerConnection() as Dim conn = New SqlConnection(con)
in top also there is a variable with scope public and here its local to that module.
Begginnerdev commented: Good catch +5
Maligui commented: I agree. Microsoft deems this as a security risk. +1
poojavb commented: Thank u very much +3
poojavb commented: its helped a lot.... +3
Pgmer 50 Master Poster Featured Poster
Pgmer 50 Master Poster Featured Poster
adam_k commented: I agree +6
debasisdas commented: thank you for sharing from my post. :) +13