Click here to Skip to main content
15,916,527 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to optimize the SQL command ... Pin
andyharman2-Mar-08 23:36
professionalandyharman2-Mar-08 23:36 
GeneralRe: How to optimize the SQL command ... Pin
followait3-Mar-08 4:19
followait3-Mar-08 4:19 
GeneralRe: How to optimize the SQL command ... Pin
andyharman3-Mar-08 8:48
professionalandyharman3-Mar-08 8:48 
GeneralRe: How to optimize the SQL command ... Pin
followait3-Mar-08 16:36
followait3-Mar-08 16:36 
GeneralRe: How to optimize the SQL command ... Pin
Ennis Ray Lynch, Jr.3-Mar-08 17:28
Ennis Ray Lynch, Jr.3-Mar-08 17:28 
GeneralNested BeginTrans failed (ado + sql server 2000) Pin
followait29-Feb-08 21:38
followait29-Feb-08 21:38 
AnswerRe: Nested BeginTrans failed (ado + sql server 2000) Pin
pmarfleet29-Feb-08 23:13
pmarfleet29-Feb-08 23:13 
GeneralSqlConnection problem on ASP.NET Web Application Pin
laziale29-Feb-08 2:20
laziale29-Feb-08 2:20 
hi! I am building one web site, and I am a beginner in ASP.NET, I am attaching a database to the project and when I want to start the application I have this problem:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider


Here is my connection string:
SqlConnection con = new SqlConnection("Data Source=DILI/SQLEXPRESS;Initial Catalog=|App_Data|test2.mdf; user id=xxxx;password=xxxx;");
con.Open();
SqlCommand cmd = new SqlCommand("INSERT INTO test VALUES ('" + TextBox1.Text + "')");
cmd.ExecuteNonQuery();




Any Help?? Thanks Ahead
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
Colin Angus Mackay29-Feb-08 3:03
Colin Angus Mackay29-Feb-08 3:03 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
laziale29-Feb-08 3:14
laziale29-Feb-08 3:14 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
Colin Angus Mackay29-Feb-08 4:09
Colin Angus Mackay29-Feb-08 4:09 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
laziale29-Feb-08 4:39
laziale29-Feb-08 4:39 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal29-Feb-08 18:58
yogesh_kumar_agarwal29-Feb-08 18:58 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
pmarfleet29-Feb-08 23:04
pmarfleet29-Feb-08 23:04 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal29-Feb-08 23:28
yogesh_kumar_agarwal29-Feb-08 23:28 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
pmarfleet1-Mar-08 0:30
pmarfleet1-Mar-08 0:30 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
yogesh_kumar_agarwal1-Mar-08 0:41
yogesh_kumar_agarwal1-Mar-08 0:41 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
laziale1-Mar-08 0:08
laziale1-Mar-08 0:08 
GeneralRe: SqlConnection problem on ASP.NET Web Application Pin
papadimitriou1-Mar-08 12:57
papadimitriou1-Mar-08 12:57 
GeneralProximity search - Full Text Index Search Pin
Arindam Tewary29-Feb-08 1:54
professionalArindam Tewary29-Feb-08 1:54 
GeneralGet all records from a recursive table Pin
Khawar Abbas129-Feb-08 1:27
Khawar Abbas129-Feb-08 1:27 
GeneralRe: Get all records from a recursive table Pin
Giorgi Dalakishvili29-Feb-08 1:45
mentorGiorgi Dalakishvili29-Feb-08 1:45 
GeneralSQL Server CE "IF" Problem Pin
Jacquers29-Feb-08 0:55
Jacquers29-Feb-08 0:55 
GeneralRe: SQL Server CE "IF" Problem Pin
Mike Dimmick3-Mar-08 3:15
Mike Dimmick3-Mar-08 3:15 
GeneralRe: SQL Server CE "IF" Problem Pin
Jacquers3-Mar-08 6:24
Jacquers3-Mar-08 6:24 

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.