I have a wpf application that is connected to my database which was created in microsoft SQL server Management using this:
private SqlConnection connect()