Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 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 August 19th, 2008, 11:30 PM
Registered User
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, is ther any other way to create a connection using back end?

 
Old August 20th, 2008, 07:23 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

darlo,

This like a fairly rudimentary problem. You mentioned that you got a syntax error. What exactly was the error? Generally, the error output will be clear enough to explain the problem. Posting that you got an error with the line of code doesn't do us much good without the detail of the error message.

Have you looked at any tutorials on connecting to a database? This is a basic process that many many articles contain. You should be able to find some walk through that could help you.

One thing to note: the "ConfigurationSettings" class has been deprecated. It has been replaced with the ConfigurationManager class. This shouldn't cause a problem, just compiler warnings.

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the directory of app.config cczhangjm C# 2 May 28th, 2007 02:55 AM
How to access app.config in C# ? cczhangjm XML 2 May 16th, 2007 07:43 PM
configure web.config (db details) when deploy app? benilpj ASP.NET 2.0 Basics 3 June 7th, 2006 09:27 PM
Chapter 8 - app.config jotto BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 2 March 21st, 2006 05:31 PM
Best way to bind config data to a web app psantos Pro JSP 2 October 21st, 2003 06:36 AM





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