To connect to database dynamically, i wrote expression in connectionString Property as,
"Data Source="+ @[User :: SourceServer] +";User ID=sa;Initial Catalog= "+ @[ User :: SourceDatabase] +";Provider=SQLNCLI.1;Persist Security Info=True;Auto Translate=False;"
where SourceServer and SourceDatabase are variables for Server and Database. And 'sa' is the username which i gave it directly.
When i evaluate the expression everything is fine. but while running the package its shows error because the connection string doesn't include password.
How to give Password in the connectionString? [When i use windows authentication its working fine]
Please help me.