I'm trying to underline the header text of a grid column. I've tried
using string.format with no results.
Any ideas/thoughts would be appreciated.
Tks....
Dim ComboTextCol As New DataGridComboBoxColumn
With ComboTextCol
.MappingName = "TestTypeID"
.HeaderText =
String.Format("FontStyle.Underline", "Test Type")
.Width = 100
.ColumnComboBox.DataSource =
ds2frmPUAT.Tables("PUATTestType").DefaultView
.ColumnComboBox.DisplayMember = "TestType"
.ColumnComboBox.ValueMember = "ID"
.NullText = ""
tableStyle.PreferredRowHeight =
.ColumnComboBox.Height
tableStyle.GridColumnStyles.Add(ComboTextCol)
End With
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!