Loading 2048K values to textbox from stringbuilder object...
-
Hi, I am trying to load the large values from the stringbuilder object to the textbox. The code below; static StringBuilder strCommandBuild = new StringBuilder (); // Business Logics here public string Commands { get { return strCommandBuild.ToString (); //txtRunCfg.Text ; } set { strCommands = value; } } // UI Part... where i am calling the strCommandBuild... txtRunCfg.Text = txtRunCfg.Text + objScript.Commands; The strCommandBuild has more than 2048K bits of datas(ie > 2048 * 1000). When it's loading in to textbox it hangs the application completely. How to solve this problem? Any help appreciated... Thanks.. How to load the values to textbox shown above. Reg, Subbu
-
Hi, I am trying to load the large values from the stringbuilder object to the textbox. The code below; static StringBuilder strCommandBuild = new StringBuilder (); // Business Logics here public string Commands { get { return strCommandBuild.ToString (); //txtRunCfg.Text ; } set { strCommands = value; } } // UI Part... where i am calling the strCommandBuild... txtRunCfg.Text = txtRunCfg.Text + objScript.Commands; The strCommandBuild has more than 2048K bits of datas(ie > 2048 * 1000). When it's loading in to textbox it hangs the application completely. How to solve this problem? Any help appreciated... Thanks.. How to load the values to textbox shown above. Reg, Subbu
-
Hi, I am trying to load the large values from the stringbuilder object to the textbox. The code below; static StringBuilder strCommandBuild = new StringBuilder (); // Business Logics here public string Commands { get { return strCommandBuild.ToString (); //txtRunCfg.Text ; } set { strCommands = value; } } // UI Part... where i am calling the strCommandBuild... txtRunCfg.Text = txtRunCfg.Text + objScript.Commands; The strCommandBuild has more than 2048K bits of datas(ie > 2048 * 1000). When it's loading in to textbox it hangs the application completely. How to solve this problem? Any help appreciated... Thanks.. How to load the values to textbox shown above. Reg, Subbu
Hi, When I am executing the code it's throwing the error as; "Exception of type System.OutOfMemoryException was thrown" Reg, Subbu
-
Hi, When I am executing the code it's throwing the error as; "Exception of type System.OutOfMemoryException was thrown" Reg, Subbu
-
Hi, I am trying to load the large values from the stringbuilder object to the textbox. The code below; static StringBuilder strCommandBuild = new StringBuilder (); // Business Logics here public string Commands { get { return strCommandBuild.ToString (); //txtRunCfg.Text ; } set { strCommands = value; } } // UI Part... where i am calling the strCommandBuild... txtRunCfg.Text = txtRunCfg.Text + objScript.Commands; The strCommandBuild has more than 2048K bits of datas(ie > 2048 * 1000). When it's loading in to textbox it hangs the application completely. How to solve this problem? Any help appreciated... Thanks.. How to load the values to textbox shown above. Reg, Subbu
-
Yes I want to load maximum size of 40 MB in a textbox. TextBox: Max length = 50,000,000 I am getting the values as string datatype and assigning to textbox...
-
Thanks a lot... I have used Richtextbox. Its working fine. But when I closed the application then it throws the same error as "Exception of type System.OutOfMemoryException was thrown". What need to rectify this error? Thanks, Subbu
-
Thanks a lot... I have used Richtextbox. Its working fine. But when I closed the application then it throws the same error as "Exception of type System.OutOfMemoryException was thrown". What need to rectify this error? Thanks, Subbu