Home | Advertising Info77 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Re: How to dynamically display table information
From: Kevin Jullion
Date: 2/9/1999 9:52:18 PM
IP: 208.251.93.209



 

This is mostly a question of getting intimate with ADO, hopefully this helps:

Create an empty recordset to figure out the widths of the columns in Table
Set rsColWidths = Server.CreateObject("ADODB.Recordset")
sSQL = "SELECT * FROM WHERE ID = 0"

rsColWidths.Open sSQL,dbConn,3

Now look at all of the items in the collection of item sent form the request.form

For Each Item in Request.Form Select Case rsColWidths("" & Item & "").Type
Case 201 get max field width for all fields except Text type fields
Case 17 and check box fields
Case Else
Response.Write Item
sItem = Left(sItem, (rsColWidths("" & Item & "").DefinedSize))
sItem = Trim(sItem)
End Select


Etc. etc...

HTH,
Kevin Jullion

Previous Message


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com