Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. input array in ASP.NET

input array in ASP.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasedata-structureshelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Suman Singh
    wrote on last edited by
    #1

    Hi all, I need to make input array in asp.net using C#... the data is comming from database as:id, name, position the form should display like this... posiotion will be in textbox.. name position aa 1 bb 2 cc 3 button(Set Position) now user can alter the position of names and when click on button, all records should be updated with new position values... for this I want to make two input arrays like: input type='hidden' name='id[]' value='id from database' input type='text' name='position[]' value='value of textbox' how can i set the database values to the textboxes and again fetch them in C# to update records with the new values entered by user... any help will be very much appreciated.. Thanks in advance... Suman Singh

    G G 2 Replies Last reply
    0
    • S Suman Singh

      Hi all, I need to make input array in asp.net using C#... the data is comming from database as:id, name, position the form should display like this... posiotion will be in textbox.. name position aa 1 bb 2 cc 3 button(Set Position) now user can alter the position of names and when click on button, all records should be updated with new position values... for this I want to make two input arrays like: input type='hidden' name='id[]' value='id from database' input type='text' name='position[]' value='value of textbox' how can i set the database values to the textboxes and again fetch them in C# to update records with the new values entered by user... any help will be very much appreciated.. Thanks in advance... Suman Singh

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Don't cross post. --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • S Suman Singh

        Hi all, I need to make input array in asp.net using C#... the data is comming from database as:id, name, position the form should display like this... posiotion will be in textbox.. name position aa 1 bb 2 cc 3 button(Set Position) now user can alter the position of names and when click on button, all records should be updated with new position values... for this I want to make two input arrays like: input type='hidden' name='id[]' value='id from database' input type='text' name='position[]' value='value of textbox' how can i set the database values to the textboxes and again fetch them in C# to update records with the new values entered by user... any help will be very much appreciated.. Thanks in advance... Suman Singh

        G Offline
        G Offline
        George L Jackson
        wrote on last edited by
        #3

        Suman Singh wrote:

        input type='hidden' name='id[]' value='id from database' input type='text' name='position[]' value='value of textbox'

        That does not work. You need to use a control that repeats such as the GridView, DataGrid, etc. -- modified at 10:46 Saturday 18th February, 2006

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups