ADO.NET via Javascript

G

Guest

Is there any code out there that explains how to perform a connection to a SQL Database and returning a Dataset using Javascript. Unfortunately all the examples on MSDN are C++, C#, and VB.NET.

I'd like to perform certain functions on the client without having to send the entire page to the server...

thanks
 
G

Guest

I you could have done this with JavaScript there would be no need for server side code (ie ASP.NET). You would most likely have to write an ActiveX control or a Java Applet. My suggestion, stick with asp.net. Every technology has its drawbacks, unfortunately, this is a draw back of web applications and server side programming.
 
K

Konrad Rotuski

try doing this by webservices, then call your webservice function from
javascript on client
 
W

wl

Unfortunately client-side javascript runs on the client and can not do any
database connections.
You could use a Java applet that talks to javascript.

However, I have been developing code with which you can have a website with
only static pages (thus if you don't have any serverside scripting
possibilities) and still have things like saving state, storing and
retrieving data (with table definitions you provide) on a server.

This would allow to write dynamic websites without even using any serverside
processing (such as, but not limited to: tracking users, guestbooks, blogs,
....)

Send me an email if you would be interested: wlambrechts(at)hotmial.com
(replace at and switch i and a).

Wim


Angel said:
Is there any code out there that explains how to perform a connection to a
SQL Database and returning a Dataset using Javascript. Unfortunately all the
examples on MSDN are C++, C#, and VB.NET.
I'd like to perform certain functions on the client without having to send
the entire page to the server...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top