Hi,
In your connection string, you're escaping the backslash for the SQL instance (\\).
But you didn't escape backslashes of the path of the .mdf file.
Try this connection string and see if it's giving a different result :
string conString ="Data Source = .\\SQLEXPRESS;AttachDbFileName = C:\\Documents and Settings\\admin\\Desktop\\testing\\testing.mdf;Integrated Security = true;Connect Timeout=1000";
You can also avoid the need of escaping backslashes by setting an @ on top of your string declaration. Thus :
string conString =@"Data Source = .\SQLEXPRESS;AttachDbFileName = C:\Documents and Settings\admin\Desktop\testing\testing.mdf;Integrated Security = true;Connect Timeout=1000";
Hope this helps.
Edit : you could also avoid to refer to the file itself by providing the database name directly. Thus :
string conString =@"Data Source = .\SQLEXPRESS;Initial Catalog = testing;Integrated Security = true;Connect Timeout=1000";