Print Page | Close Window

Dislpaying Oracle field in a textbox?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7430
Printed Date: 01 April 2026 at 1:00am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Dislpaying Oracle field in a textbox?
Posted By: ChiZel_MunKee
Subject: Dislpaying Oracle field in a textbox?
Date Posted: 20 November 2003 at 1:19pm

I'm trying to load a textbox with information from an Oracle database, but with no success.  I can get it to load in a table fine using

<%=rs("OWN1")%>

When trying to use the same logic for the textbox it errors on me.

<%

<INPUT TYPE="text" name="Name" value="(rs('OWN1'))">

%>

I'm quite new at ASP, so any help is appreciated.  I just need to load the textbox with Oracle information.  Thanks.




Replies:
Posted By: Flamewave
Date Posted: 20 November 2003 at 1:30pm
<INPUT TYPE="text" name="Name" value="<%= rs('OWN1') %>">

-------------
- Flamewave

They say the grass is greener on the other side, but if you really think about it, the grass is greener on both sides.


Posted By: ChiZel_MunKee
Date Posted: 20 November 2003 at 1:48pm

Thanks for the reply.  Unfortunately I've already tried that and it didn't work.  I had to use "" around OWN1 instead though because the ' commented it out.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net