:: Forum >>

how to assign data source to a grid

sir,
how to fetch the data from database and assign values to grid
sorry my english is very poor
vinod
Thursday, May 19, 2005
you could use XMLHTTP from jscript on the client. If your page is posting back then you can place a asp:Literalcontrol inside the jscript section and write out the javascript array as you loop thru the records on the server. Build a string and set it to the literal control.
<!--browser-->
<script language=javascript>
<asp:Literal id=JscriptArray runat=server></asp:Literal>
</script>
Tim Curtin
Friday, May 20, 2005

This topic is archived.


Back to support forum

Forum search