ADO.NET via Javascript

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
try doing this by webservices, then call your webservice function from
javascript on client
 
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...
 
Back
Top