dionisov 0 Newbie Poster

I'm sure that I have seen this somewhere here, but I want to ask how I can make membership system in windows forms application?
The database must be in hosting. I don't know how exacly to connect to it. It says that it can't find the database server.