Hi

I have to insert some values taking from the db to Ajax using C#.net or
ASP.Net.


I know only to display by binding the dataset to some control(like
datagrid or repeater).

So please guide me display using looping in the table tag of ajax(we basically
use code provided by backbase for ajax)

Down I will provide the table structure in which there is statically data provide but I want to provide dynamically
.

<s:include b:url="{concat($bpc_controlpath, 'b-listview/b-listview.xml')}" />
<table b:behavior="b-listview">
<thead>
<tr>
<th style="width: 150px;">Movie</th>
<th style="width: 60px;">Genre</th>
<th style="width: 150px;">Director</th>
<th style="width: 100px;">Language</th>
</tr>
</thead>
<tbody>
<tr>
<td>The Seven Samurai</td>
<td>Drama</td>
<td>Akira Kurosawa</td>
<td>Japanese</td>
</tr>
<tr>
<td>City of God</td>
<td>Drama</td>
<td>Fernando Meirelles</td>
<td>Portuguese</td>
</tr>
<tr>
<td>Donnie Darko</td>
<td>Drama</td>
<td>Richard Kelly</td>
<td>English</td>
</tr>
<tr>
<td>The Godfather</td>
<td>Crime</td>
<td>Francis Ford Coppola</td>
<td>English</td>
</tr>
<tr>
<td>Scarface</td>
<td>Crime</td>
<td>Brian De Palma</td>
<td>English</td>
</tr>
<tr>
<td>Carlito's Way</td>
<td>Crime</td>
<td>Brian De Palma</td>
<td>English</td>
</tr>
<tr>
<td>Apocalypse Now</td>
<td>War</td>
<td>Francis Ford Coppola</td>
<td>English</td>
</tr>
<tr>
<td>The Thin Red Line</td>
<td>War</td>
<td>Terrence Malick</td>
<td>English</td>
</tr>
</tbody>
</table>

Above the code is provided statically tell me how to provide dynamically.