yosiasz is right -- the first step is to post the error exactly as it occurs, with any line number information it puts out.
But with a cursory look, I noticed this:
conn.ConnectionString = @"DSN=ABCD;" +
"Uid=TAB;" +
"Pwd='******';
Are you missing a double quote after the last semicolon?