Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Textbox Data from ASP
Message
 
À
31/05/2002 09:51:24
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00663412
Message ID:
00663847
Vues:
14
>This is another one of my newbie questions, probably isn't as hard as I am making it for myself, so here goes.....
>
>I have an HTML Client Side form (uses javascript) with textboxes that need to be populated with data for the user to edit. I have a vbScript ASP that retrieves the data, no problem there, however, I am having trouble placing the data in the Client Side form textboxes with the values. I can display the values in a new form as a string, but cannot get them into the objects on the forms like I need. I have a requirement that the Client Side use javascript and just display the data, so I can't just put the ASP code into the Client Side form (which is how all the examples I have found does it).
>
>Any ideas or input would be appreciated. Thank you.
>
>Rhonda

Hi Rhonda,

Not exactly sure where the problem is, but I've always done it in ASP as follows...not this assumes a recordset available in the ASP page called rsRecordset...
<input type="text" name="txtMyField" value="<%=rsRecordset!myfield%>">
HTH,
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform