Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 8th, 2007, 01:34 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default connect to SQL EXPRESS 2005

hi expert
i remote to sql express 2005 whith this connection string

SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirector y|\test.mdf;Integrated Security=True;User Instance=True");

my database name is test
i can read my data in my table (STD)
and i create a procedure for insert data to above table
i dont any problem
my store procedure works good
but when i close the program my added data was reset and my inserting didn't any action to my database and my table (STD)

can you help me ?
i don't have this problem when i use the SQL SERVER 2000 Enterprise edition

regards





Similar Threads
Thread Thread Starter Forum Replies Last Post
MSDE or SQL 2005 EXPRESS? angelboy C# 2005 2 June 19th, 2007 12:10 AM
SQL 2005 Express Edition Maxxim SQL Language 2 February 5th, 2007 05:19 PM
Connect to MSSQL 2005 express salemkoten SQL Server 2005 2 October 11th, 2006 04:46 AM
SQL Express 2005 Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 20th, 2006 04:38 PM
How to connect SQL Express in VB .NET/win Appli. venkikrao General .NET 0 January 4th, 2006 12:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.