المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : C# programme crashes without an obvious reason



C# Programming
02-29-2012, 06:29 AM
I'm writing a C# program that reads RSS feeds and displays them on a windows form... The program first worked fine, no problem, but suddenly it began to crash once I had navigated in the web browser control in the C# program. I got into some sort of knowing what causes the problem... When provide the web browser using WebBrowser.DocumentText = sting with large amount of data it does crash... so does anybody have a solution for that??

sb.Append("");
sb.Append(row.title);
sb.Append("

");
sb.Append(ASCIIEncoding.ASCII.GetString((byte[])row.desc));
desc_self_nav = false;
webBrsrRSSDesc.DocumentText = sb.ToString()