Datagrid in aspcompat mode

Hi all,

This looks stupid i know but i have do this, this way no vb or page load options. here is the code and i need to make the datagrid to populate:



<%@ Page Language="vb" aspCompat="True"%>

<%
...
...
...
ssql = "select * from table; "

RS = Db.Execute(sSQL)
%>
<ASP:DATAGRID ID="DataGrid1" STYLE="Z-INDEX: 101; LEFT: 96px; POSITION: absolute; TOP: 120px"
RUNAT="server"></ASP:DATAGRID>


now how do i get the rs to bind with the datagrid in a code like this?
Any ideas
 
Back
Top