Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

combobox string alignment

$
0
0

I use this statement to bind data to a combobox

 strb.Append("SELECT *,[TAXCODE]+'              |   '+[TAXPROVINCE] AS [DETAILS] FROM [BD_TAXTABLE]");

because my TAXCODE can be one or two character long - it throws the TAXPROVINCE out of alignment

I was wondering if I could left justfy the [TAXCODE] to see if this would correct the alignment.

or any suggestions would be welcome


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>