Creating textboxes dynamically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashwinigopi
    New Member
    • Jul 2008
    • 7

    Creating textboxes dynamically

    Hi
    I am a fresher to .net just taking classes for .net. I got a task whic i have a basic idea but dont know how to proceed. Heres the task
    create a form with a textbox and two buttons 'Show' and 'Sum'

    the textbox should take values from 1-20

    after enter a value(5) in the textbox, click the show button, then it should display 5 textboxes(value ) on the form.
    note: dont create textboxes before clicking the show buttonafter that many no. of texboxes are displayed, we 'll enter some integer values and click the sum button. then it has show a messagebox displaying the sum of those textboxes.

    Please give me some codes to do this!!!!

    Note: i created one textbox but unable to link with rest of programm
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    Welcome to Bytes!

    Please do not ask for full code solutions. The experts are here to help you, not to do your work for you.

    MODERATOR

    But, just your luck, we do have a howto article that covers what you need. Just follow the link.

    Comment

    • ashwinigopi
      New Member
      • Jul 2008
      • 7

      #3
      I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxes

      Comment

      • ashwinigopi
        New Member
        • Jul 2008
        • 7

        #4
        Originally posted by insertAlias
        Welcome to Bytes!

        Please do not ask for full code solutions. The experts are here to help you, not to do your work for you.

        MODERATOR

        But, just your luck, we do have a howto article that covers what you need. Just follow the link.

        I am not asking for entire code, i know u are here to help,i dont want u to do my work, i just need to know how to generate multiple textboxes in c#. I tried many things i couldnot figure out. I just put the whole task to make others understand.

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          Have you read the Howto article I've linked for you?

          Comment

          Working...