Line break in Label Box

后端 未结 1 750
無奈伤痛
無奈伤痛 2021-01-15 16:43

How can I give line break in label box using C#?

Here is my code is there to show the values from database in a label box:

protected Lis         


        
相关标签:
1条回答
  • 2021-01-15 17:11

    Use "\r\n" or br at appropriate places. for example: In winforms for label

    label1.text= "t, applet, class, money, July, you, clue, collection,"+"\r\n"+"Java, add, add, add, club, dildos, class, class, applet, t";
    
    0 讨论(0)
提交回复
热议问题