Click here to Skip to main content
12,400,556 members (62,770 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#3.0 C# ASP.NET
i am uploading my website on web for first time .i dont have idea about how to connect it with data base.i have uploaded data base and front end,but not able to connect them.please help me out.its urgent
Posted 20-Dec-12 21:30pm
Comments
RajAcharya 31-Dec-12 6:06am
   
You need online database connection string to connect your website with your database. For get the online database connection string you need to login into your hosting control panel and you get it from there or else contact you hosting support and ask for the online database connection string.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi Dharmendra,

First thing is to make sure your host has permissions to connect to the DB, second make sure that your DB is reachable.

Then you can use a sample textbox or something to show the error message is gets when trying to connect. Once you have that error message, either google it or post it here, and we'll try to help

Good luck
Cheers,
Edo
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 27 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100