Possible Duplicate:
How to add text to a WPF Label in code?
I need set the value of a Label like this:
开发者_如何学Cmessagelb = "Generating file..."
I try with messagelb.Text
and messagelb.TextIput
but not work.
how can I do this?
in wpf
messagelb.Content = "Generating file...";
If you are using WPF you need to set the Content property.
Edit:
messagelb.Content = "your text...";
精彩评论