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. Help in creating User control

Help in creating User control

Scheduled Pinned Locked Moved ASP.NET
databasehelp
5 Posts 4 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.
  • R Offline
    R Offline
    Ravi_21
    wrote on last edited by
    #1

    Hi i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes can anyone help

    S A P 3 Replies Last reply
    0
    • R Ravi_21

      Hi i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes can anyone help

      S Offline
      S Offline
      Samer Aburabie
      wrote on last edited by
      #2

      My friend, you will need to read about User Controls and Page Life cycle as well in order to create your dynamic controls at runtime, not hard if you got the idea right, and I believe CP has some articles on creating dynamic controls at runtime in asp.net, for saving the data I don't see this as an issue ... it will be as just any other static user control.

      Sincerely Samer Abu Rabie Note: Please remember to rate this post to help others whom reading it.

      1 Reply Last reply
      0
      • R Ravi_21

        Hi i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes can anyone help

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        Ravi_21 wrote:

        i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes

        What is your problem ?

        cheers, Abhijit

        R 1 Reply Last reply
        0
        • R Ravi_21

          Hi i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes can anyone help

          P Offline
          P Offline
          Paddy Boyd
          wrote on last edited by
          #4

          You might want to have a look at the repeater control.

          1 Reply Last reply
          0
          • A Abhijit Jana

            Ravi_21 wrote:

            i have to create a User control in which textboxes are created dynamically from the database and also save the data which is in textboxes

            What is your problem ?

            cheers, Abhijit

            R Offline
            R Offline
            Ravi_21
            wrote on last edited by
            #5

            I need to pass the parameter from th aspx file to user control their i have create a fucntion to retreive data ob behalf of certain criterias

            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