I am using a Janus grid and when creating a column I want to format a phone number to (###) ###-####
The code for creating the column is...
With m_objGridHelper
.AddGridColumn("Phone Number", FieldNames.PhoneNumber, Janus.Windows.GridEX.ColumnType.Text, Janus.Windows.GridEX.EditType.NoEdit, Janus.Windows.GridEX.FilterEditType.DropDownList, True, "", True, False)
The quotation marks that I have bold pass formatstring as string, I need to know what the format string should be in order to get the phone number formatted the way I want.
The code for creating the column is...
With m_objGridHelper
.AddGridColumn("Phone Number", FieldNames.PhoneNumber, Janus.Windows.GridEX.ColumnType.Text, Janus.Windows.GridEX.EditType.NoEdit, Janus.Windows.GridEX.FilterEditType.DropDownList, True, "", True, False)
The quotation marks that I have bold pass formatstring as string, I need to know what the format string should be in order to get the phone number formatted the way I want.