开发者

What is the difference between add 'text' property or directly use within tags?

for example :

what is the exact difference between following statements:

    <asp:TextBox ID="TextBox1" runat="server">hi</asp:TextBox>

and

    <asp:TextBox ID="TextBox1" runat="server" text="开发者_运维知识库HI"></asp:TextBox>


There is Simply No Difference.

You can change the text of both texboxes from code behind using textbox1.text = "something".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜