CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    21

    Question How to post form agian and again..

    Hi,
    I have one text file which is in tab delimited format and it’s on my local drive.
    All I want to do on client side only..

    Suppose I have 2 lines in text file like::
    1\tTest1\t2.5
    2\tTest2\t3.1

    And I have three hidden fields named as ID, Name, Cost..

    Now I want one by one all values to hidden fields. It will come like
    ID=1, Name=Test1, Cost=2.5
    ID=2, Name=test2, Cost=3.1.....
    Once I get value from first line I want to submit the form after that second line and that will continue up to all lines will finish.
    I have code like this :::


    <body>
    <form name="f" target="_self" action="https://www.xyz.com" method="post">
    <input type="hidden" name="ID" value="">
    <input type="hidden" name="Name" value="">
    <input type="hidden" name="Cost" value="">
    <input type="submit" name="Submit" value="Submit">
    </form>


    Now how can I do this all using either ASP or JavaScript....

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: How to post form agian and again..

    I am just a little confused. Why do you want to input this data from your hard drive? What will submitting this form do? Does it post to a database?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Mar 2006
    Posts
    21

    Red face Re: How to post form agian and again..

    Hi,
    Ya I want data in database. And when ll get this I will update One site's Database also....

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: How to post form agian and again..

    Is this database on a server you have access to or is this a batch input you want to do onto some server across the internet?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured