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. General Programming
  3. .NET (Core and Framework)
  4. Addition in textbox

Addition in textbox

Scheduled Pinned Locked Moved .NET (Core and Framework)
6 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.
  • N Offline
    N Offline
    Nandan Basak
    wrote on last edited by
    #1

    i want to add two text box value and result will come automatically third text box....That means put two integer value in first two text box and automatically result come into third box.

    thanks in advanced...

    L J 2 Replies Last reply
    0
    • N Nandan Basak

      i want to add two text box value and result will come automatically third text box....That means put two integer value in first two text box and automatically result come into third box.

      thanks in advanced...

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      you did not ask a question someone could answer, so I'll ask some: what is keeping you from implementing a little code snippet that does what you described? and have you already decided which programming language and framework/environment you're going to use? :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
      All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.


      N N 2 Replies Last reply
      0
      • L Luc Pattyn

        you did not ask a question someone could answer, so I'll ask some: what is keeping you from implementing a little code snippet that does what you described? and have you already decided which programming language and framework/environment you're going to use? :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
        All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.


        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        Luc Pattyn wrote:

        have you already decided which programming language and framework/environment you're going to use?

        Yes, Code Project


        I know the language. I've read a book. - _Madmatt

        L 1 Reply Last reply
        0
        • N Not Active

          Luc Pattyn wrote:

          have you already decided which programming language and framework/environment you're going to use?

          Yes, Code Project


          I know the language. I've read a book. - _Madmatt

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          A good suggestion. Not sure someone will actually come up with some decent code though... It wasn't even marked urgent, no ASAP, no plzzzz :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
          All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.


          1 Reply Last reply
          0
          • L Luc Pattyn

            you did not ask a question someone could answer, so I'll ask some: what is keeping you from implementing a little code snippet that does what you described? and have you already decided which programming language and framework/environment you're going to use? :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
            All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.


            N Offline
            N Offline
            Nandan Basak
            wrote on last edited by
            #5

            I have to use .net framework..

            1 Reply Last reply
            0
            • N Nandan Basak

              i want to add two text box value and result will come automatically third text box....That means put two integer value in first two text box and automatically result come into third box.

              thanks in advanced...

              J Offline
              J Offline
              jaypatel512
              wrote on last edited by
              #6

              There is a property of the textbox known as textbox1_text_changed event. You can use that event to monitor both the input text boxes. And in the subroutine, you can give the addition of the values in both the text box. It would be something like: try{ textbox3.text = (Convert.ToInt32(textbox1.text)) + ((Convert.ToInt32(textbox2.text)); } catch(Exception ex) { MessageBox.Show(ex.Message); } I hope you got what I am trying to convey..

              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