N
Neven Klofutar
Hi,
How can I bind data to System.Web.UI.WebControls.Table control ?
I put a Table objet in the Form.
Then I create Table object in Page_Load (I fill Table with data), and then
I'm trying to bind data from CS code, to Table object in the Form.
ASPX
*****
<asp:Table id="table" runat="server"></asp:Table>
CS
***
protected System.Web.UI.WebControls.Table tableForm;
....
Page_Load() {
Table table = new Table();
... fill table ...
tableForm = table;
tableForm.Databind();
}
How can I bind data to System.Web.UI.WebControls.Table control ?
I put a Table objet in the Form.
Then I create Table object in Page_Load (I fill Table with data), and then
I'm trying to bind data from CS code, to Table object in the Form.
ASPX
*****
<asp:Table id="table" runat="server"></asp:Table>
CS
***
protected System.Web.UI.WebControls.Table tableForm;
....
Page_Load() {
Table table = new Table();
... fill table ...
tableForm = table;
tableForm.Databind();
}