Forum Moderators: open

Message Too Old, No Replies

how do we

         

kriani

8:37 pm on Oct 17, 2006 (gmt 0)

10+ Year Member



access a record from database based on the record_id entered in a textbox?

I have an ASP page which requires a user to enter a personal Id and retrieves their details based on the Id. I want to know if we can access the database with javascript or vbscript?

Thanks in Advance.

Animesh

LifeinAsia

8:45 pm on Oct 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Is there some reason you can't just directly use ASP?

If you need to have it on the same page where the user enteres the ID, you can use AJAX to call another ASP page and retrieve the data.

kriani

9:21 pm on Oct 17, 2006 (gmt 0)

10+ Year Member



no no
i want to know how to do it in ASP also..

LifeinAsia

9:38 pm on Oct 17, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Um, you pull the record(s) from the database based on the record_id submitted by the from on the previous page. Similar to any other database call.

Or are you asking for step-by-step instructions on how to access a database through ASP?

kriani

2:28 pm on Oct 18, 2006 (gmt 0)

10+ Year Member



umm yes i kinda need the step by step instructions..

thanks for the patience

defanjos

3:01 pm on Oct 18, 2006 (gmt 0)