|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
ASP with VBScript |
From: |
BABAR |
Date: |
11/11/2000 3:43:42 AM |
IP: |
64.110.80.5 |
Question 1
<% @LANGUAGE=VBSCRIPT %>
<%
Dim arStorage,strConcate
arStorage = Split(objRS("Title"), " ")
strConcate = Join(arStorage, " ")
%>
* If I write this way
<Input id="FirstName" Type="text"
Name="FirstName" value=<% = strConcate%>
strConcate is a user-defined variable.
It is showing nothing in a text box.
Please help me
* If I write this way
Title is a database field
<Input id="FirstName" Type="text"
Name="FirstName" value=<% = objRS("Title")%>
It is not showing the full description
which includes spaces like sales, representative
It is showing only sales in a text box
Question 2
I want to use Nevigation in records through button
USING VBSCRIPT at the same page which is asp page.
Because in ASP we have a loop which shows all records as same time I want to see one record each time in text box through vbscript. Please help me.
Public Sub btnPrevious_OnClick
How can I Put here to show navigation in textboxes
on the same page.
End Sub
Public Sub btnNext_OnClick
How can I Put here to show navigation in textboxes
on the same page.
End Sub
|
Follow Up - Re: ASP with VBScript - Phil Haigh 11/24/2000 6:51:01 AM
|
|

|
|
|
|
|
|
|
|
|
|