TheWizardofInt
Well-known member
I have a blank datagrid on my ASP.Net page
I fill it, which works, fine, except now the header text is all column names. I want it it be Address instead of address1, Created instead of CreateOn, etc
I thought this would work:
What am I doing wrong?
I fill it, which works, fine, except now the header text is all column names. I want it it be Address instead of address1, Created instead of CreateOn, etc
I thought this would work:
Code:
With dgHomes
.DataSource = CreateDataBindableView(sPrice)
.DataBind()
now lets brand with the data
.Columns(sPrice).HeaderText = "Price"
.Columns("Address1").HeaderText = "Address"
.Columns("CreateOn").HeaderText = "Created"
.Columns(sStatus).HeaderText = "Status"
.Columns("RecID").Visible = False
.Visible = True
End With
What am I doing wrong?