Thursday, April 19, 2012

Telerik RadGrid using an array of data

I want to print a table dynamically based on an array I have, using the RadGrid. The problem is that I am new to telerik and to ASP.NET.



What I would do in PHP is:



<?php 
$data = stuff;
?>
<table>
<?php foreach($data as $dataOne): ?>
<tr><td><?php echo $dataOne; ?></td></tr>
<?php endforeach; ?>
</table>


Now I want to do the same in ASP.NET using RadGrid.



Thanks.





No comments:

Post a Comment