On my ASPX page I have datagrid control with 6 columns.
4 of them are bound columns, two are link columns.
In the properties I defined the columns with their widths and names.
In designtime I see the column names appear in the datagrid.
Above the datagrid is linkbutton and when the user clicks on it, the
datagrid is supposed to be filled with info.
In the click-event of this linkbutton, first a function is called to fill a
dataset with that info.
then the following is called:
Dim dv As New DataView(ds.Tables("pdalijst"))
Me.dgLijst.DataSource = dv
Me.dgLijst.DataBind()
But the problem is, nothing appears in the datagrid.
If I use the automatic column property, I get to see the info from the
dataset, but the widths of each column is then automaticly set and that is
not what I want.
What am I doing wrong?
rg,
Eric