The easiest way I can think of doing it is setting that column (FirstName) to allow nulls. Then you should be able to pass an empty string to it. There might be a better way of handling this though. I'm new to Sql myself.
Hi all,
I have a form that connects to a Sql Server 2005 database. I specify the connection string, but when the form opens it gives me a Microsoft .Net Framework error that says "Login failed for user 'OPERATIONS\xxxx'". The 'OPERATIONS\xxxx' is the user's Windows login id. My connection...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.