|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Large insert stringHi,
I have an asp page with a form, which has a lot of fields ........ 30 to 40 ! Is there an easier way to loop through all the fields submitted to the insert page or is the only way to do it using the standard, request.form for each field and then INSERT INTO Reports (ReportID, ReceivedDa .................... very lengthy for this amount of fields. Perhaps there is a way of looping through some sort of collection ??? Thanks David David wrote:
Show quoteHide quote > Hi, http://www.aspfaq.com/2036> > I have an asp page with a form, which has a lot of fields ........ 30 > to 40 ! > > Is there an easier way to loop through all the fields submitted to the > insert page or is the only way to do it using the standard, > request.form for each field and then INSERT INTO Reports (ReportID, > ReceivedDa .................... very lengthy for this amount of > fields. > > Perhaps there is a way of looping through some sort of collection ??? > > Thanks > -- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.
Pass Parameters to <!-- #Include File="file.asp" -->
Removing obscure chars Creating Project from existing site Insert statement asynchronous callback component generate PDF files with ASP. small dooubt on recordset ADO recordset returns UTF8 instead ISO-8859-1 "Breaking out" of a Server.Execute call? strings with quotes in |
|||||||||||||||||||||||