Ask a Question related to ASP Database, Design and Development.
-
Aaron Bertrand - MVP #1
Re: display data with no end comma
Preferably, you can move the array to getrows, then use join()
Or, if you really want to loop, you could build a string:
str = str & rs("TrackName") & ", "
Then once you're outside of the loop,
response.write left(trim(str), len(trim(str))-1)
> If Not rs.EOF And Not rs.BOF Then
> do while not rs.eof
> Response.Write rs("TrackName") &", "
> rs.movenext
> Loop
> Else
> Response.Write "No Data"
> End If
>
> The thing is I do not want to show the last comma, when the last record is
> displayed - either display full stop or nothing at all
> How can I get resolve this issue?
>
> cheers for all help
> matt
>
>
Aaron Bertrand - MVP Guest
-
display data points but not data tips
does anyone know how to display the data point, but not the data tip? i just want to display the circular node that shows where the data point is,... -
How to display a set of data in a data grid when drivenby a combo box?
I am trying to build a page where the user can select a syle of food (i.e. chinese, italian etc) from a combo. I would then want the relevent... -
how to display checked checkboxes from comma separatedlist?
I have a conference registration page that displays information from a database: -Membership info comes from a members table. -Conference info... -
Display Data
Help. I am setting up an inventory data base. On my forms how do I get information from more than one field(s) to display without combining... -
Display data from database in a scrollable data grid on an ASP Page
Hi All, I want to display data from database in a scrollable data grid on an ASP Page. I want to use it for entering data also. Should i have to...



Reply With Quote

