隐藏按钮
<asp:Button ID="btn_receive" runat="server" Text="Button" style="display:none;" />
后台显示按钮
btn_receive.Style["display"] = "";
如果
btn_receive.Style["display"] = "block";(会换行)
因为block是一个块,它会换行
所以不要换行使用,只让按钮显示
btn_receive.Style["display"] = "";