textbox with huge data in c# windows form -
when added huge data textbox ,i cannot edit textbox keyboard (can cut cannot paste , cannot type) .what happened? , should do?
any advice please.
for example , after code, textbox go abnormal.
string test=""; (int = 0; < 10000; i++) { test += i.tostring() + "\r\n"; } textbox1.text = test; return;
as string object immutable, means once created, strings cannot modified (), , methods apparently modify string, return new object desired value.
please use stringbuider instaed of string manupulations.
please refer this
thanks,
Comments
Post a Comment