当前位置:编程学习 > C#/ASP.NET >>

aspx里div的id传递问题

比如我在index.aspx里有个框架 
    <div id="searchform"  runat="server" style="width:600px; height:300px; text-align:center; display:none;">
       
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    
    </div>

我怎么在index.aspx.cs 里获取这个 div 的 id 啊 请高手指点迷津啊!!!  --------------------编程问答-------------------- 直接写searchform就可以对这个div操作了吧 --------------------编程问答-------------------- 没有啊 直接写 没有searchform哦 奇怪啊 --------------------编程问答-------------------- runat="server"
searchform
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,