Buy Questpond's video subscriptions on
huge discount
.
Online: 4060
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
connection string for access the another system database
Posted by
Kalaikathiravan
under
C#
on 12/22/2012 |
Points: 10
| Views : 1734 | Status :
[Member]
| Replies : 3
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
connection string for accessing another system database in using windows application using c#. I need explanation also please tell me
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Guna27
on: 12/23/2012
[Member]
Starter
|
Points: 25
0
//Connection String
public static SqlConnection con=new SqlConnection("Data Source=SP\\SQLEXPRESS;Initial Catalog=MyDB;User ID=sa;Password=boss;");
Before that you have to configure the SQL Server Surface Area Configuration
Open--> SQL Server Surface Area Configuration--> Surface Area Configuration for Features--> Then Enable all the service
Within(SqlExpress -->Database Engine)--OK
This configuration allows us to access within a Intranet
Guna..............
Kalaikathiravan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Kalaikathiravan
on: 12/24/2012
[Member]
Starter
|
Points: 25
0
what means 'Sp' guna plz explain me.........
Kalaikathiravan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Guna27
on: 12/26/2012
[Member]
Starter
|
Points: 25
0
Data Source=SP\\SQLEXPRESS
The term--SP indicate the Specific machine name which we want to access in intranet
SQLEXPRESS ->It represent SQL Server name within the machine (SP)
Guna..............
Kalaikathiravan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...