473,395 Members | 2,468 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.

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 8268
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.