I figured it out, except that I load a var with the values because this
doesn't output as a table. When I load it in a variable and then
assign it to one innerHTML it works fine. Now I need to know how to
pull certain column and rows. How would I pull the values of one
column?
document.getElementById('party').innerHTML+="<table border=1>";
for(w=0;w<dt.value.Tables[0].Rows.length;w++) {
document.getElementById('party').innerHTML+=
dt.value.Tables[0].Columns[w].Name + "<tr>";
for(s=0;s<dt.value.Tables[0].Columns.length;s++) {
document.getElementById('party').innerHTML+="<td>" +
dt.value.Tables[0].Rows[s][dt.value.Tables[0].Columns[w].Name] +
"</td>";
}
document.getElementById('party').innerHTML+="</tr>";
}
document.getElementById('party').innerHTML+="</table>";
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---