c# problem with textbox.text visual studio

Hi all, i’m new at c# (new at programming) and the following line of code just wont work for me and i dont understand why.

public void AddData(string AddData) { textBox1.AppendText(AddData.ToString() + "rn"); } 

so the “plan” is to have some code come up with a string send it back from the backgroundworker to the AddData method so it can add that string as text on the textbox.

when i debug the string “AddData” is NOT empty yet it wont show it on the textbox.

anyone has any idea how to debug this further?

thnx

submitted by /u/sageza
[link] [comments]

Leave a Reply