Viewing 3 posts - 1 through 3 (of 3 total)
Try something like this:
string conn_str1="Data Source=localhost;Initial Catalog=master;User Id=sa;Password=xxxx;";
using (SqlConnection conn = new SqlConnection(conn_str1))
{
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
...
July 7, 2010 at 9:22 pm
Hmm. I like the idea. But i'm getting red underlines on code which works. "Invalid object name" - only it's perfectly valid SQL which executes.
Have you tried refreshing...
December 8, 2009 at 1:29 pm
Are your users logging in using a domain account?
I recall coming across a similar issue a while back when trying to set up one of our users.
The problem we found...
December 8, 2009 at 12:59 pm
Viewing 3 posts - 1 through 3 (of 3 total)