S
Seli
Hell
How can I change the headerText of an AutoGenerateColumns DataGrid
myDataGrid.DataSource=ds.Tables["Products"].DefaultView
myDataGrid.DataBind()
myDataGrid.Columns[0].HeaderText="MARCEL";
in the third line I get always an exception. myDataGrid.Colums.count Returns 0!
Thank
Seli
How can I change the headerText of an AutoGenerateColumns DataGrid
myDataGrid.DataSource=ds.Tables["Products"].DefaultView
myDataGrid.DataBind()
myDataGrid.Columns[0].HeaderText="MARCEL";
in the third line I get always an exception. myDataGrid.Colums.count Returns 0!
Thank
Seli