Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 6th, 2012, 10:22 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Read Access database in Javascript

Hi all,
I'm currently learning ASP.Net/C# and Javascript.

In Javascript, i just know how to create a class and an object.

I just want to learn or to execute a query from MS Access in Javascript:
Example "SELECT Name, Firstname FROM Employees;".

After that, i want to know how to display those datas in an array (or a list) in Javascript.

Thanks for your attention.


Reply With Quote
  #2 (permalink)  
Old February 10th, 2012, 07:57 PM
Friend of Wrox
Points: 742, Level: 10
Points: 742, Level: 10 Points: 742, Level: 10 Points: 742, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Nov 2009
Location: Tehran, Iran
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
Default javascript object

Hi my friend.

In the current versions of JavaScript objects and classes are the same. but upcoming version (JavaScript2.0) supports class definition.

var p = new object();
p.firstname = "Reza"; // =====> or =====> p["firstname"] = "Reza";
p.lastname = "Baiat"; // =====> or =====> p["lastname"] = "Baiat";


var p = {firstname: "Reza", lastname: "Baiat"};

JavaScript does not work with Access or other databases (at least in current versions). you can access to MS Access by ActiveX. but this is only supported by IE.
you can store data in 'window.localStorage' like a database (up to 'available-space!!') in HTML5. or you can call Server Side pages by XMLHttpRequest object (Ajax's core object).
happy every time, happy every where

Reza Baiat
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Access Database Query panuvin Javascript How-To 28 May 9th, 2008 01:53 PM
How to read/write to Access database from Visual C mmakrzem Access 1 July 30th, 2005 01:57 AM
Access Database from Javascript with rds nosreg Access 2 February 3rd, 2005 07:19 PM
How to read/write Access Database jmmendes Access VBA 0 November 18th, 2003 01:26 PM

All times are GMT -4. The time now is 07:25 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.