在asp.net中 为了把页面中一个名为name的string类型的字段帮定到一个textbox控件的文本属性中 下
已帮助 人
在asp.net中,为了把页面中一个名为name的string类型的字段帮定到一个textbox控件的文本属性中,下列代码正确的是()。 Public string name=”诸葛亮”;
A.<asp:TextBox id=”TextBox1” Text=”<#%name%>”></asp:textbox>
B.<asp:TextBox id=”TextBox1” Text=”<%name%>”></asp:textbox>
C.<asp:TextBox id=”TextBox1” Text=”<%#name%>”></asp:textbox>
D.<asp:TextBox id=”TextBox1” Text=”<name>”></asp:textbox>

回答
共1条回复-
dgStudnet.AllowSorting=false;
