473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

database connection with javascript

Can someone tell me how to connect database like MS Access to javascript


thanks
Mar 27 '08 #1
6 1419
Jezternz
145 100+
I was under the impression that it wasnt possible. I mean being that javascript is clientside. Wouldnt it be kinda pointless? as the client would have to have he database username and password.
If it is possible Id like to know how.
Mar 27 '08 #2
aswath
18
I was under the impression that it wasnt possible. I mean being that javascript is clientside. Wouldnt it be kinda pointless? as the client would have to have he database username and password.
If it is possible Id like to know how.

i think u can use ajax.. doing so u can connect to ms access(or anyother db)..
may i know why u want to connect to database using javascript. any specific reason....
regards
Mar 27 '08 #3
r035198x
13,262 8TB
Can someone tell me how to connect database like MS Access to javascript


thanks
You can't. Javascript runs on the client side.
Mar 27 '08 #4
gits
5,390 Expert Mod 4TB
just a note: in case you need this for a strict IE usage and a defined client environment (like an intranet) you may use IE's JScript/ActiveX capabilities to achieve that ... search the forum ... there are multiple answers to that question already ...

kind regards
Mar 27 '08 #5
aswath
18
You can't. Javascript runs on the client side.
hi r035198x,
correct me if am worng... ajax uses javascript... thats y i told we can use ajax.
regards
Mar 28 '08 #6
r035198x
13,262 8TB
hi r035198x,
correct me if am worng... ajax uses javascript... thats y i told we can use ajax.
regards
AJAX stands for Asynchronous JavaScript and XML (see it's wiki page)
AJAX does not connect to databases. You need some serverside script that will give back results to your AJAX fuction calls.
AJAX merely fools the user into believeing that data is being retrieved from the database without the page being submitted.
Mar 28 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: R Reyes | last post by:
Hi, I'm trying to modularize my database connections a little better and get more out of my project with less code. First check out this common dbOpen() function inside class clsDatabase. I...
1
by: Macca | last post by:
Hi, I have a C# Solution/Application that contain 4 projects. Each of these projects needs at some time to access the same database. I would like to know how to share a single connection...
2
by: Bryan | last post by:
Hello, I'm just starting to develop in asp.net and i have a question about using a database connection globally in my app. I have set up the procedures for getting all my connection string info...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
35
by: Terry Jolly | last post by:
Web Solution Goal: Have a global database connection Why: (There will be 30+ tables, represented by 30+ classes) I only want to reference the database connection once. I put the connection...
5
by: Matt | last post by:
Hello, What is the best way to handle the database connection string for a class library project that will be compiled and used as a .dll? This .dll will be accessed via classic ASP and in...
6
by: Arsalan Ahmad | last post by:
Hi all, I am creating a website in which in an Item detail page there are a number of web controls (7 or 8) and what is happening that inside each of control's Page_Load() function I am creating...
3
by: fniles | last post by:
In the Windows application (using VB.NET 2005) I use connection pooling like the following: In the main form load I open a connection using a connection string that I stored in a global variable...
4
by: Mike P2 | last post by:
Hi. I'm writing controls that have to query the database, and it bothers me that I might have several of these controls on a page that each create, open, and close their own connection with the...
6
by: shuttered | last post by:
Can anyone help me on this? I just need more information on all aspects of it. For example : how to add, delete, edit fields. Can i add new tables etc.. i know it is MS version of javascript so it...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.