Print Page | Close Window

How can see database records in textbox?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=287
Printed Date: 29 March 2026 at 6:25am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How can see database records in textbox?
Posted By: arash_s_h
Subject: How can see database records in textbox?
Date Posted: 18 February 2003 at 11:41am

Hi

I have a problem with my asp pages.I write a program that members could write records in database from textbox.I could see records after add them in another page.But I want see this records in another page in textbox.For example I want see student name in textbox1 and see student lastname in textbox2.If you know it,please send an answer to me.

Thanks for you.



-------------
Arash Sayyed Haghighi



Replies:
Posted By: michael
Date Posted: 18 February 2003 at 1:19pm
If I understand you right you want to display the database result in a textbox. All you would have to do is set the default value to the recordset like <input type="text" value="<%=rs("fieldname")%>">
This would display a value in a textbox. (rs would be the recordset in this case). If this is not clear enough for you post some of your code so I know what variables you are using.


Posted By: arash_s_h
Date Posted: 22 February 2003 at 4:49pm

ok

I did it and I could see records.

Thanks for you.



-------------
Arash Sayyed Haghighi



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