Follow via:
RSS
Email Alert
Question
0 Votes
+ -

trouble in uploading MS ACCESS db with ASP pages ?

trouble in Access database link at web hosting


hello , i am uploading my ASP web on webhosting panel

the project name is test1 ,

MS access DB name is db.mdb

when i went to create the ms access database on my hosting it asked for these fields

DSN name temp -405

database useer id "text box"

database passwprd "textbox"

DBQ (Database Path) ftproot \db.mdb
it gave me this

ODBC Connection String for this DSN would be :
"DSN=temp-405;Uid=;Pwd=;"
now what should i do in next step ?
what should i have to in web.config?
what should i need to do in my grid view or page code?
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" <>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-???




















31st May 2011

Answers (1)

0 Votes
+ -
Several Thoughts
Until you get a hang of connection strings, the best bet is to try this on a local web server with a local database. This is simpler to do.

Also, not sure you can have spaces in your userid.

http://www.connectionstrings.com/
31st May 2011
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.