The following code will render a DataGrid inside of an area that is 400 pixels wide and 500 pixels high:
<div style="OVERFLOW:auto;WIDTH:400px;HEIGHT:500px">
<asp:DataGrid id="DataGrid1" runat="server"></asp:DataGrid>
</div>