Here's what I'm trying to do:
A web form has a drop down list and a bunch of text boxes. Selecting a
value from the dropdown list populates the text boxes. (Without a round
trip to the webserver)

In ASP I'd build a javascript array with the potential values and call a
function in the onchange event of the dropdownlist to populate the text
boxes.

I can figure everything out except building the array from the database -
how do I do this?

It should end up like:

<HEAD>
<script language="Javascript">
var dataArray = new Array();
dataArray[1]=new Array("name", "date", "age");
dataArray[2]=new Array("name2", "date2", "age2");

etc.

</script>


And I'm sure you can see how I'd dynamically build something like that in
ASP. How do I do it in ASP.Net?

Philo

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to