乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      PlaceHolder - ^特殊П佀命^ - 博客園

       suweixin 2011-01-15
      PlaceHolder

      PlaceHolder 控件用于為代碼添加的控件預(yù)留空間。在頁控件層次結(jié)構(gòu)中為以編程方式添加的控件保留位置。

      注釋:PlaceHolder 不會產(chǎn)生任何可見的輸出(僅僅是網(wǎng)頁上其它控件的容器)。

      設(shè)計如圖:

      打開源:

      <body>
          <form id="form1" runat="server">
          <div>
              <table style="width: 100%;">
                  <tr>
                      <td>
                           
                          昵稱:</td>
                      <td>
                           
                           
                          相片:</td>
                  </tr>
                  <tr>
                      <td>
                           
                          法拉利f430</td>
                      <td>
                           
                          <asp:PlaceHolder ID="placeCar" runat="server"></asp:PlaceHolder>
                      </td>
                  </tr>
                  </table>
          </div>
          </form>
      </body>

       

      在該網(wǎng)站新建文件夾Images 粘貼一張圖片到該文件夾下面

       

      打開后置cs

          protected void Page_Load(object sender, EventArgs e)
          {
              TextBox txtUserName = new TextBox();
              txtUserName.Text = "請寫上你的大名:";
              this.form1.Controls.Add(txtUserName);

              Image image = new Image();
              image.ImageUrl = "~/Images/falali.jpg";
              this.placeCar.Controls.Add(image);
          }

      效果如圖:

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約