troubleshooting Question

Make two response.write to clients

Avatar of Whing Dela Cruz
Whing Dela CruzFlag for Anguilla asked on
ASPJavaScript
13 Comments1 Solution110 ViewsLast Modified:
Hi experts, how to send two data via response.write to clients?

asp serverside:

<%
dim user, sta
user = request.querystring("q")
sta = "post"

response.expires=-1
set cn=Server.CreateObject("ADODB.Connection")
cn.ConnectionString = "driver={SQL Server};server=MYSERVER;uid=;pwd=;database=MobileOrder"
cn.Open
'cn.Execute("Update Trxno set db_docno = db_docno +1 where code='WebTrx'")
Set rs = cn.Execute("Select messages, name from PublicNotice where status='" & sta & "' And destination='" & user & "'")        

   With rs
      If not .BOF = True And not .EOF = True Then
         ''found record
         response.write(rs("messages")) //here I want to include the "name"
         cn.Execute("Update PublicNotice set status='Read' where status='post'")
      else
         response.write("No record!")
      End If
   end with
%>
ASKER CERTIFIED SOLUTION
Big Monty
Web Ninja at large

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros