I've created another header row for a gridview programmatically. In this row I have a few controls including a label that I want to align all the way to the left of the cell. The one cell has a columnspan of 7 so it runs across the entire gridview. how do i align that label programmatically??
Dim cell As New TableCell
Dim lblfilter As New Label
Dim row As New GridViewRow(-1, -1, DataControlRowType.Header, DataControlRowState.Normal)
GridView1.Rows(0).Parent.Controls.AddAt(0, row)
lblfilter.ForeColor = Drawing.Color.AntiqueWhite
cell.Controls.Add(lblfilter)