syntia.wijaya
Member
Hi,
I want to create login form with SQL Server authentication. I mean users who have access to SQL Server can access the application as well.
I use SqlConnectionStringBuilder like this
I use SqlConnection and no exception occurs when the connection is opened, even when I entered non existing username and password
Can anybody give me a hand?
Thanks in advanace..
I want to create login form with SQL Server authentication. I mean users who have access to SQL Server can access the application as well.
I use SqlConnectionStringBuilder like this
VB.NET:
[SIZE=2]builder([/SIZE][SIZE=2][COLOR=#800000]"Data Source"[/COLOR][/SIZE][SIZE=2]) = [/SIZE][SIZE=2][COLOR=#800000]server_name
[/COLOR][/SIZE][SIZE=2]builder([/SIZE][SIZE=2][COLOR=#800000]"Integrated Security"[/COLOR][/SIZE][SIZE=2]) = [/SIZE][SIZE=2][COLOR=#0000ff]True
[/COLOR][/SIZE][SIZE=2]builder([/SIZE][SIZE=2][COLOR=#800000]"Initial Catalog"[/COLOR][/SIZE][SIZE=2]) = [/SIZE][SIZE=2][COLOR=#800000]database_name
[/COLOR][/SIZE][SIZE=2]builder([/SIZE][SIZE=2][COLOR=#800000]"User ID"[/COLOR][/SIZE][SIZE=2]) = username
builder([/SIZE][SIZE=2][COLOR=#800000]"Password"[/COLOR][/SIZE][SIZE=2]) = password
[/SIZE]
I use SqlConnection and no exception occurs when the connection is opened, even when I entered non existing username and password

Can anybody give me a hand?
Thanks in advanace..