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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -