Hi,
I have created installer for our application, In this I have used SQLconnection dialog to get server name,user ID and Password from user. In this I want to add windows authentication facility.For that I want to add two radio button when I select windows authentication then I want to check windows authentication connection to selected server & if it valid then I want to create database on that server but don't know how to validate windows authentication for SQL server & create database on that server using windows authentication. In SQL authentication I have used Predefined SQL connection to create database if that database is not exists & execute SQL create table, Store procedure script. I want to apply this method for windows authentication.
Please tell solution to validate windows authentication for SQL server & create database on that server using windows authentication.
FOLLOW US
Get the latest news in Application Packaging