Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - How can see database records in textbox?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can see database records in textbox?

 Post Reply Post Reply
Author
arash_s_h View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Iran
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote arash_s_h Quote  Post ReplyReply Direct Link To This Post Topic: How can see database records in textbox?
    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.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
arash_s_h View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Iran
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote arash_s_h Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2003 at 4:49pm

ok

I did it and I could see records.

Thanks for you.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.