ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 15th, 2000, 05:06 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
post data

<i><b>Originally posted by : Glenn (glenn@rdsinc.net)</b></i><br />I am looking for a robust way to populate a html/asp form without using client side code.<br /><br />Specifically, I want to populate a html form's fileds with data from an asp...<br /><br />I know we can generate the form on the fly but it does not allow for forms that have fields next to each other and formatted in other than one field after the other...<br /><br />I have used visual interdev and DTC controls with success but this requires client sided scripting and exposing data elements..asp of course hides the implemntation but I have not found an acceptable solution.<br /><br />Any suggestions would be appreciated..<br />

Reply With Quote
  #2  
Old February 24th, 2000, 01:58 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Chris Snider (csnider@worldnet.att.net)</b></i><br />All you need to do is output the database field as the value of the form field.<br /><input type="text" value="<%= rsRecordset.fields("MyFieldName").Value%>"><br /><br />For options in a select tag you would need to repeat the data twice, once for the value="" and once for the "viewable part"<br /><br />use the convention above for a low traffic site as switching context can cause a drain on the server resources for large sites<br /><br />For high traffic sites, out the form generation into a function/sub and call it. Then use the resposne.write "My form field stuff" with the database values integrated<br />Response.Write "<input type=""text"" value=""" & rsRecordset.fields("MyFieldName").Value & "">"<br /><br /><br />------------<br />Glenn at 2/15/2000 3:06:20 AM<br /><br />I am looking for a robust way to populate a html/asp form without using client side code.<br /><br />Specifically, I want to populate a html form's fileds with data from an asp...<br /><br />I know we can generate the form on the fly but it does not allow for forms that have fields next to each other and formatted in other than one field after the other...<br /><br />I have used visual interdev and DTC controls with success but this requires client sided scripting and exposing data elements..asp of course hides the implemntation but I have not found an acceptable solution.<br /><br />Any suggestions would be appreciated..<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > post data


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway