开发者

problem in Labels with asterisk! [closed]

It's difficult to tell what is being asked here. This question is ambiguous,开发者_StackOverflow中文版 vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

I have the following ASP.NET markup:

<td align="right" valign="top" style="width: 130px">
    Answer: <asp:Label 
                 ID="lblanswer" 
                 runat="server" 
                 CssClass="errorMessage" 
                 ForeColor="Red"
                 Text="*">
            </asp:Label>
</td>

I want it to say "Answer:*" with only the asterisk in red.

How to do that if I want Answer to be inside the <asp:label/>.


How about:

TextBox textBox1 = new TextBox();
textBox1.PasswordChar = '*';
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜