@CK
Yes The SQl server is located on the different machine, so is it right to turn off the firewall before you make the connection to a remote server to access SQL Server database ?
User Profile
Collapse
-
SQL Server Connectivity
Hi I am using SQL Server 2005.
I tried to connect to the database stored at a remote server by c# with the following connection string :
"Data Source='server1 ';Initial Catalog='dataBa se';Integrated Security='True' ; Uid='user1'; Pwd='secret'"
I couldnt succedded unless I had to set the server's firewall off.. So I wanted to ask does it really make difference or there is any problem in the way... -
You can achieve it with following 3 ways
1. Through Form's constructor-
- you need to overload the constuctor for a form n pass the appropriate
values when u r creating d object for a form
2. Through properties
- define public properties for a form, SET it when u make d object n GET it
when u need in second form
3. Through Common Module
...Leave a comment:
-
Developing Editor in .net
Hi.. I am developing one editor in vb.net and got stucked in including one of the feature i.e.,
generally in editors now we have tree kind of structures with every function or module (e.g., region in .net editor) so that it can be surpressed when every we click on it and vice versa..
Can anyone please tell how to achieve this functionality through a vb.net code..
No activity results to display
Show More
Leave a comment: