List Info

Thread: RE: space




RE: space
country flaguser name
Indonesia
2007-09-24 20:04:25

Sorry before.

What I'm trying to do is I want to add space into the asp listbox.
I thought that I can add a space into the listbox using space(" ")

Dim space_ As String = New String(" "c, 10)

v_nmbrg = Trim(Left(rs("nm_barang"), 20)) & space_ &
Trim(rs(";kd_barang"))
lstitem.Items.Add(v_nmbrg)
lstbarang.Items(i).Value = Trim(rs("kd_barang"))

lstitem is a asp listbox.

Thanks.

-----Original Message-----
From: AspNetAnyQuestionIsOk%40yahoogroups.com">AspNetAnyQuestionIsOkyahoogroups.com
[mailto: AspNetAnyQuestionIsOk%40yahoogroups.com">AspNetAnyQuestionIsOkyahoogroups.com] On Behalf Of Dean Fiala
Sent: 24 September 2007 19:26
To: AspNetAnyQuestionIsOk%40yahoogroups.com">AspNetAnyQuestionIsOkyahoogroups.com
Subject: Re: [AspNetAnyQuestionIsOk] space

What exactly are you trying to do? Your initial question was how to
replace
the Space$ function from VB6.

On 9/24/07, Agus Salim < asalim%40aneka-infokom.co.id">asalimaneka-infokom.co.id> wrote:
&gt;
> Hhmm, I think that VS2005 can't accept " " empty string.
> After I changed the " " into "&;nbsp;"; it works.
&gt;
> But when I add the space in the listbox, it show &nbsp;

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )