手写的Table 怎样放到panel里面去?

解决方案 »

  1.   

       Button button1 = new Button();
            button1.Text = "123";        this.Panel1.Controls.Add(button1);
      

  2.   

    我怎样把手写的button放到手写的table中呢!!!
      

  3.   

    是web上的table<table>
     <tr><td><asp:Buttion Id="btn1" runat="server" text="按钮" onClick="btn1_Click" /></td></tr>
    </table>
    不知道是不是你想问的?
      

  4.   

    <table > 
         <tr > 
               <td > 
                   <asp:Buttion Id="Button1" runat="server" text="手写的"/ >//反正什么控件都写在这里
              </td>
         </tr > 
    </table >