Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: web.config file access in another project Pin
vkEE7-Feb-14 4:39
vkEE7-Feb-14 4:39 
GeneralRe: web.config file access in another project Pin
Marco Bertschi7-Feb-14 4:39
protectorMarco Bertschi7-Feb-14 4:39 
QuestionHandling Multiple result sets in EF Pin
meeram395-Feb-14 4:04
professionalmeeram395-Feb-14 4:04 
AnswerRe: Handling Multiple result sets in EF Pin
Matt U.5-Feb-14 10:39
Matt U.5-Feb-14 10:39 
QuestionHow to close a TextWriter? Pin
Zhivko Kabaivanov5-Feb-14 2:53
Zhivko Kabaivanov5-Feb-14 2:53 
AnswerRe: How to close a TextWriter? PinPopular
Richard Deeming5-Feb-14 3:02
mveRichard Deeming5-Feb-14 3:02 
QuestionSQL Server Database for C# connectivity Pin
Mohan Subramani5-Feb-14 1:06
Mohan Subramani5-Feb-14 1:06 
AnswerRe: SQL Server Database for C# connectivity Pin
OriginalGriff5-Feb-14 1:33
mveOriginalGriff5-Feb-14 1:33 
You don't need to have SQL server installed on anything other than the server - that's the whole idea of having a server running SQL server: the other machines connect to the SQL server instance and access the DB via that.

Start by connecting to the server instance.
Try setting up a connection in VS with the Server Explorer pane:
1) Open Server Explorer.
2) Right click "Data connections" and select "Add connection"
3) In the dialog that follows, select your DataSource, and database, specify the security info, and press the "Test connection" button.
4) When the connection works, press "OK"
5) Highlight your database in the Server Explorer pane, and look at the Properties pane. A working example of the connection string will be shown, which you can copy and paste into your app or config file to use from your C# code.

Until you have that working, you aren't going to get anywhere!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

SuggestionRe: SQL Server Database for C# connectivity Pin
Richard Deeming5-Feb-14 2:59
mveRichard Deeming5-Feb-14 2:59 
QuestionSQL Exception was unhandled Pin
Oonagh5-Feb-14 0:32
Oonagh5-Feb-14 0:32 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:14
professionalKornfeld Eliyahu Peter5-Feb-14 1:14 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:18
Oonagh5-Feb-14 1:18 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:29
professionalKornfeld Eliyahu Peter5-Feb-14 1:29 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:30
Oonagh5-Feb-14 1:30 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:31
professionalKornfeld Eliyahu Peter5-Feb-14 1:31 
Questionwant to generate random number Pin
Diya Bh.4-Feb-14 23:17
Diya Bh.4-Feb-14 23:17 
AnswerRe: want to generate random number Pin
Marco Bertschi4-Feb-14 23:29
protectorMarco Bertschi4-Feb-14 23:29 
GeneralMessage Closed Pin
5-Feb-14 0:10
Diya Bh.5-Feb-14 0:10 
GeneralRe: want to generate random number Pin
Marco Bertschi5-Feb-14 0:15
protectorMarco Bertschi5-Feb-14 0:15 
GeneralRe: want to generate random number Pin
Diya Bh.5-Feb-14 0:24
Diya Bh.5-Feb-14 0:24 
AnswerRe: want to generate random number Pin
Eddy Vluggen5-Feb-14 0:30
professionalEddy Vluggen5-Feb-14 0:30 
GeneralRe: want to generate random number Pin
Diya Bh.5-Feb-14 0:37
Diya Bh.5-Feb-14 0:37 
NewsRe: want to generate random number Pin
Eddy Vluggen5-Feb-14 3:05
professionalEddy Vluggen5-Feb-14 3:05 
AnswerRe: want to generate random number Pin
BillWoodruff5-Feb-14 2:25
professionalBillWoodruff5-Feb-14 2:25 
QuestionDisplaying SSRS report in MVC 4 Pin
nitin_ion4-Feb-14 22:57
nitin_ion4-Feb-14 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.