Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to connect Flash and SQL Server with ASP?

Status
Not open for further replies.

awinnn

MIS
Jul 21, 2003
166
0
0
MY
Hi,
I'm getting problem with connecting Flash and SQL Server with ASP. Most of the articles or samples on the Net is using Access not SQL Server. Anybody can give me some example or any link so that i can study on myself?
Can you help me?
Thanx in advance..;)
 
It's basically the same process connecting to SQLServer as Access, it should just be a matter of changing the connection string within the ASP script - the actual SQL queries etc will work for both types of database.

Here's a generic SQL server connection, fill in the relevant database names, passwords etc:

Code:
strconn="Provider=sqloledb;Data Source="&DB_host&" ;Initial Catalog="&DB_name&";UID="&DB_userid&";Password="&DB_password&";"
set oConn = server.createobject("adodb.connection")
oConn.open strconn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top