c# - set the value in textbox appears automatically -


i'm working on project now, make easier work decided make related textbox, question how set value of textbox appears automatically?

inthis case, rnol = pnol + qnol + nnol
want rnol value printed automatically in tbrnol/textbox rnol when click button..

        pnol = double.parse(tbpnol.text);         qnol = double.parse(tbqnol.text);         nnol = double.parse(tbnnol.text);         rnol = pnol + qnol + nnol(tbrnol.text); //i've try wrong syntax   

you modify last line to:

rnol = pnol + qnol + nnol; 

and add one:

tbrnol.text = rnol.tostring(); 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -