When posting for help with code please make sure before you hit post that you haven't left your connection details intact.
If you inadvertently post your connection details it means someone could if they were so bloody minded Hack your SQL server.
So please some Common sense when posting code please. If you recently posted code and your password was on view you may need to change said password for a Stronger one
We really don't want to give anyone the chance to hack anything because that's just wrong! Not to mention it could be illegal