Monday, February 2, 2015

Help !! A RichTextBoks does not get value ....

I have a kind of array consisting of a single text. Within the text, informations are separated by "*". I use the "*" argument to extract the information I need



private void Display()
{
string P = MezArray[wsk.G_found_num].ToString();
string[] Dbs1 = P.Split(g);
Meglezi1 .Text = Dbs1[2].ToString();
}



and try to display it in a RichTextBox. When I make braekponit and check for valuesof Dbs1[2].ToString(), I find the values are what I expect, but Meglezi1 .Text does not get the correct value, infact it is Meglezi1 .Text=""; What went wrong ....


No comments:

Post a Comment