It is absolutely a legitimate approach.
There are some pretty good free ajax implementations out there, or you can
write your own.
http://msdn.microsoft.com/library/de...SpicedAjax.asp
All you're really doing is making an http request using javascript, which is
then handled by a asp.net page. the page deciphers the request, and calls
the appropriate method (server side). In this method you can read data from
where ever you want, as your dealing in server side code now so it's easy
enough to get from a database. Once you've got your data, you need to
return it in a format that you can read in javascript. this could be just
text, or xml or Javascript object model (json).
You can download a good free ajax library here: (it has good docs and
samples)
http://ajaxpro.schwarz-interactive.de/
<ne***********@gmail.com> wrote in message
news:11********************@g44g2000cwa.googlegrou ps.com...
Hi, I am interested in use AJAX, Javascript, .NET, etc. to retrieve
information from a "real" database, not an XML file. I am trying to
find out if that is a legitimate approach. All of the examples I have
seen use AJAX to get the data from a XML file using XSL. Or do I use
regular ASP.NET and ADO.NET to retrieve data and send it back
surrounded by XML tags to a file and then the XSL file. Not real sure
how to proceed here. I don't want to implement the wrong technology.
Any comments are welcome. Thanks