Hi,
do the IF/THEN for the string itself:
string connectionString = null;
if(SQL_Auth)
{
connectionString = String.Format("Data Source={0}; database={1}; User id={2}; Password={3};",...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: hoppler Search: Search took 0.02 seconds.
Results 1 to 5 of 5
|
Click Here to Expand Forum to Full Width |