Skip to content Skip to sidebar Skip to footer

Why Does Connection Object Contain Null Properties In It

I am trying this code and in debugging breakpoint the Connection Object does not show any values in it when I hover on it. All values are shown NULL. Even the connection string is

Solution 1:

Looks like the connection string is not following the correct format.

Try this format:

Data Source=192.199.199.199; initial catalog=someDatabase;user id= someUser;password=somePassword;


Post a Comment for "Why Does Connection Object Contain Null Properties In It"