473,409 Members | 1,935 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,409 software developers and data experts.

connect to an SQL database using javascript

hi friends,

can any one out here help me by giving me the code to connect to an SOL database using javascript.
Aug 1 '07 #1
5 8270
gits
5,390 Expert Mod 4TB
hi ...

you cannot do that with standard-javascript - may be there are some IE-proprietary ActiveX-objs. out there ... but besides that, you have to do that on serverside. You may consider AJAX, that makes XMLHttpRequests in the background that are called by JavaScript ... and you get a more responsive application through that ... but even with that you have to call a serverside script or service or whatever to get connected with a database ...

kind regards
Aug 1 '07 #2
thanks.
i am asking this for checking the username availibility in ASP.Net at runtime.
Aug 1 '07 #3
gits
5,390 Expert Mod 4TB
thanks.
i am asking this for checking the username availibility in ASP.Net at runtime.
i see ... but you have to do the server-turnaround i mentioned ... and using ajax ... you don't need to do a pagereload for the task ... i think that is what you are after? ;)

kind regards
Aug 1 '07 #4
hi friends,

can any one out here help me by giving me the code to connect to an SOL database using javascript.

Hello,
can u got ans of 'how to connect javascript to an MySQL database',
if yes then plz send mi code of that.
Aug 3 '07 #5
gits
5,390 Expert Mod 4TB
Hello,
can u got ans of 'how to connect javascript to an MySQL database',
if yes then plz send mi code of that.
hi ...

welcome to TSDN ...

the answer is up there already ;)

kind regards
Aug 3 '07 #6

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

Similar topics

17
by: kartheek | last post by:
hi friends, can any one out here help me by giving me the code to connect to an MSACCESS database using javascript.
4
by: vee10 | last post by:
hi, I need help to connect to database(SQLSERVER2005) using javascript please help me
8
by: cvijaykrishna | last post by:
hi can i connect database using (client side )javascript. pls send me a sample code. so that it would be very much helpfull.
11
by: srivijayaragavan | last post by:
Can any one help me how to connect MS Access from Javascript with example? Is any component required or that is to be installed in client side? I have read that some component needs to be installed.
2
by: Abhi~Menon | last post by:
I've a situation here where i want to interact with the local Access Database from an HTML page. I've created a DSN for the Access. I'm wondering how the connection part has to made from Java Script....
0
by: tarkuser | last post by:
Hai... I have problem in storing values from flash to database and to select data from a database using Javascript. First i get details of a student through flash and then sotre it to database...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
3
by: mkhizess | last post by:
Hi Buddzy Can you plz help to connect to Access DataBase input from HTML form using insert statement. I am still new on programming with html here is my code . <html> <head> ...
7
by: saadkhan | last post by:
Is there any way to create xml file and save it in SQL Server database all using javascript? I have no security issues for the purpose i need to do it. Though if anyone could give me some better idea...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.