Thursday, March 29, 2012

List box problem

(Type your message here)

----------
From: Asp Net

Hi all,

I have list box in web form. I am populating 2 coloums in the list box. My problem is I need space between two coloumns.

lstList.Items.Add(Coloumn& " " & Coloumn) this is not working. What to do?

Thanks in advance

--------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>KL7ZpYRKnUSYXzSOYGGrFg==</Id>Hi
I come acrossed the same problem, what i did is I write the sql query which concatenate the two column and return it as a single column
Example
'Select Col1 + ' ' + Col2 from Table1

Regards
Sathesh

0 comments:

Post a Comment