Posted on: 3/14/2015 12:56:37 AM | Views : 750

Hey guys, so my professor assigned this asp.net/c# project where we have to create a cryptogram. So there are two textboxes, the textbox on the left is supposed to be read-only, and underneath it is the "Get" button. When a player presses the "Get" button, it's supposed to output an encrypted text (kinda like caesar cipher) and players will type in their answers in the textbox on the right and click the "Solve" button underneath the right textbox. Anyway, my problem is when I get the get button, it doesn't clear the previous value and it just continues to add more encrypted words at the end of the first one. I want the textbox to refresh and get a different value and display only one encrypted text everytime a user clicks the "Get" button. How do I do that? I included my code below and posted a screenshot of the problem. I have yet to code the logic for solve button so don't worry about it!
Link to the image is: Go to the complete details ...