I'm dynamically creating menu items from a few database columns. I want to format the line of text so it looks clean, so I tried separating with tabs. Problem is, only the first tab gets displayed as a tab, the second and third will get displayed as a square.
Any ideas? Code snippet:
VB Code:
cmd.CommandText = "SELECT Agency, Call, Violation FROM vActiveCalls" dr = cmd.ExecuteReader While dr.Read mi.MenuItems.Add(dr.GetString(0) & Chr(9) & dr.GetString(1) & Chr(9) & dr.GetString(2)) End While




Reply With Quote