Pass Connection String to SQL2005 Fail!

edited February 2010 in FastReport .NET
Dear Sir:

I used pass connection string to SQL2005 fail,
but pass connection string to SQL2000 suucess,
my connection string as follow

SQL2005 :
string CONN =Data Source=192.168.1.51\SQLEXPRESS;AttachDbFilename=;Initial Catalog=db;Integrated Security=False;Persist Security Info=True;User ID=s;Password=a;
SQL2000 :
string CONN = "Data Source=192.168.1.51;AttachDbFilename=;Initial Catalog=db;Integrated Security=False;Persist Security Info=True;User ID=s;Password=a;

There are different Only "Data Source=192.168.1.51\SQLEXPRESS", Others are same,
and i had show this connection string in report, it was wrok,
but i replace with "ConnectionStringExpression" property, then SQL can't connect,
what's wrong?

Thank you!

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.