Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.net:Literal¿Ø¼þ

ÔÚÍøÉÏ¿´µ½Ò»¶Î¹ØÓÚÒýÓÃLiteralµÄ´úÂë

<head>
  <script runat="server">
      void ButtonClick(Object sender, EventArgs e)
      {
        MM1.Text="Welcome to ASP.NET!!";    Õâ¸ö²¿·ÖÊdzõÖµ
      }
  </script>
</head>


<body>
  <form runat="server">
      <h3>Literal Example </h3>
    <asp:Literal id="MM1"ÕâÀïÓ¦¸ÃÊÇÒýÓÃLiteral¿Ø¼þµÄλÖõİɣ¬ÄÚÈݾÍÊÇMM1µÄtext
          Text="Hello World!!"
          runat="server"/>
      <br> <br>
      <asp:Button id="Button1"         
          Text="¸Ä±äLiteralÄÚÈÝ"
          OnClick="ButtonClick"
          runat="server"/>
  </form>
</body>

ÄÇôֻҪɾ³ý <asp:Literal id="Literal1"
          Text="Hello World!!"
          runat="server"/>

ÊDz»Ê


Ïà¹ØÎÊ´ð£º

aspÉý¼¶µ½asp.net£¬ºÃ¶à½á¹¹¶¼²»ÖªµÀÈçºÎת»»

aspÏÂÃ棬µ±Òª¸ù¾Ý²»Í¬µÄȨÏÞÏÔʾһЩ¹¦ÄÜ°´Å¥µÄ»°»áд³É
<%
if ȨÏÞ=1 then
%>
<input type="submit" name="Submit" value="Ìá½»" />
<%
end i ......

ASP.NET ºÜ²ËµÄÎÊÌâ,ÈçºÎÌø³ö IF ´úÂë¿é??

protected void btn_sea_Click(object sender, EventArgs e)
    {

        if (t_date1.Text == "" | t_date2.Text == "")
      ......

c# ASP.net

Label lbsingle = new Label();
            if (ds.Tables[0].Rows.Count == 0)
                  Label.Visible = false; ......

asp.net Á¬½ÓsysbaseÊý¾Ý¿â¹ÊÕÏ

ÎÒʹÓÃODBCÁ¬½ÓsysbaseÊý¾Ý¿â£¬ÔÚasp.netÖÐÓÃSqlDataSourceÉèÖÃÊý¾ÝÁ¬½Ó£¬¹ý³ÌÖгöÏÖÒ»¸öµ¯³ö¿òûÓÐ˵Ã÷¾ÍÊÇÒ»¸ö¾¯¸æµÄͼ±ê¡¢Ò»¸öÈ·¶¨°´Å¥£¬µã»÷¼ÌÐø£¬Äܹ»Íê³É²éѯ¡£ÔÚä¯ÀÀÆ÷ÉÏÔËÐÐʱ»¹Êǵ¯³öÄǸöµ¯³ö¿ò£¬±ØÐëµã»÷² ......

ASP.NET¿ª·¢WEBGIS

±¾È˳õ´Î½Ó´¥GIS£¬ÏëÔÚ×Ô¼ºÓÃasp.net½¨µÄÍøÕ¾ÄÚ£¬Ç¶ÈëGIS¼¼Êõ£¬×öÒ»¸öµØͼ£¬ÄÜÔÚµØͼÉ϶¯Ì¬Éú³É·Ïߣ¬ÓÉÓÚ³õ´Î½Ó´¥GIS£¬ÊµÔÚÊDz»Öª´ÓºÎÏÂÊÖ£¬¿ª·¢WEBGISÓÃЩʲôÑùµÄÈí¼þ¹¤¾ß£¬ÓÖÈçºÎ½«×ö³ÉµÄµØͼÔÚvs2008ÀïʹÓã¬Õâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ