05-21-2009, 10:01 AM
I dont think I can help you debug anymore from here.
Can you convert the .mdf to a sql server db instance? personally I never work with mdf so Im not even sure of the syntax.
I have a good c# conn string tester that is good for debugging this kind of thing (or at least isolating the problem) give me your email and ill send it to you
btw speaking of sql injection, never ever ever build SQL statements directly from user form input. Always used parameterized queries. (and always check for isnullorempty() unless you like NPEs!) ado.net makes it easy so no real excuse not to.
Can you convert the .mdf to a sql server db instance? personally I never work with mdf so Im not even sure of the syntax.
I have a good c# conn string tester that is good for debugging this kind of thing (or at least isolating the problem) give me your email and ill send it to you
btw speaking of sql injection, never ever ever build SQL statements directly from user form input. Always used parameterized queries. (and always check for isnullorempty() unless you like NPEs!) ado.net makes it easy so no real excuse not to.
