Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 30, 2012 08:35 AM by Dave Sussman
Mar 29, 2012 09:33 PM|LINK
I have one label control and Text property set by combining two two fields. i need tab space between the fields instead giving one space. becuase with one space format look silly. so i want equal spacing in the text here is my code. but its not give the
SQL += dt.Rows[i]["Benamning"].ToString() + ":\t" + dt.Rows[i]["RumFriText"].ToString() + "\t";
Mar 30, 2012 08:35 AM|LINK
HTML doesn't have the notion of tabs. Browsers will ignore them or convert them to a single space. You'd have to use multiple non-breaking spaces - - but that doesn't have the same semantic meaning as a tab, in that it doesn't hand;e alignment. There's
no real way to achieve what youw ant with single controls; probably the simplest solution would be to return these as separate columns and use a grid, since the grid is designed for columns.