before you post it.. are you sure that you can connect to the database??? I mean.. is the connection string ok???? does the database exists???
post only the connection part...
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile