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"
.
精彩评论