A
Amr Moselhy
Hi Everyone
i have problem that columns created dynamically in the run time using bining
cannot be accessed later on.
now i bind a datagrid to a datasource e.g
datagrid.datasource = datatable
datagrid.DataBind();
so the data are loaded into the datagrid correctly
when i try to read the access the columns using
datagrid.Columns[1].HeaderText = "AAA";
i get an error
that datagrid.Columns.Count = 0;
how can i access the columns that created in the run time ????
plz advice
i have problem that columns created dynamically in the run time using bining
cannot be accessed later on.
now i bind a datagrid to a datasource e.g
datagrid.datasource = datatable
datagrid.DataBind();
so the data are loaded into the datagrid correctly
when i try to read the access the columns using
datagrid.Columns[1].HeaderText = "AAA";
i get an error
that datagrid.Columns.Count = 0;
how can i access the columns that created in the run time ????
plz advice