ConnectionSetup connSetup = new ConnectionSetup();
connSetup.ConnectionString = string.Format(''Integrated=False;IsPrimaryLogin=True; Authenticate=True;EncryptedPassword=False; Host={0};Port=5252;SecurityLabelName=K2SQL; UserID={1};Password={2};'', server,tbUserID.Text, tbPassword.Text);
conn.Open(connSetup);