remove header in detailsview

  • Thread starter Thread starter Mario Krsnic
  • Start date Start date
M

Mario Krsnic

Hello everybody,
I have in a VWD-Project several sqldatasource- controls and I bind them
during runtime with
DetailsView:
SqlDataSource2.SelectCommand = "select field1 from Tab1 where id= " & 4
DetailsView1.DataSourceID = SqlDataSource2.ID
This works. Now I would like to remove the header of DetailsView with:
DetailsView1.Fields(0).ShowHeader = False
It does not work. How to remove the header?
Thank you!
Mario
 
Try removing the header before you populate it with data.

Regards

Jared
 
Try removing the header before you populate it with data.

Regards

Jared
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top