Author: ginger_asp | Posted on: 7/16/2009 5:39:13 AM | Views : 305

is there a way to display multiple lines of data in a lable? i want to show rows of data in lable but it only shows in one line...

private void PrintKeyValuePair(Hashtable HT)
    {
        StringBuilder sb = new StringBuilder("\t-KEY-\t-VALUE-");
        foreach (DictionaryEntry de in HT)
        {
            sb.Append(de.Key).ToString();
            sb.AppendLine();
            sb.Append(de.Value).ToString();
            lblData.Text = sb.ToString();
            Debug.WriteLine(sb);
      &nb ...

Go to the complete details ...