Large insert string

Discussion in 'ASP General' started by David, Apr 4, 2007.

  1. David

    David Guest

    Hi,

    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, Apr 4, 2007
    #1
    1. Advertising

  2. David wrote:
    > Hi,
    >
    > 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
    >


    http://www.aspfaq.com/2036



    --
    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.
    Bob Barrows [MVP], Apr 4, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hai Nguyen

    Insert large text into a textbox

    Hai Nguyen, Feb 5, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    471
  2. Ketchup
    Replies:
    1
    Views:
    230
    Jan Tielens
    May 25, 2004
  3. Olaf Winterton

    Cannot insert Large text into Database Memo field

    Olaf Winterton, Jan 5, 2004, in forum: ASP General
    Replies:
    4
    Views:
    297
    Olaf Winterton
    Jan 5, 2004
  4. Sean Nakasone
    Replies:
    9
    Views:
    118
    Michael Fellinger
    Dec 12, 2007
  5. Replies:
    5
    Views:
    846
    Xho Jingleheimerschmidt
    Apr 2, 2009
Loading...

Share This Page