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

ÔÚasp.netÖÐʵÏÖGridview ±íÍ·¹Ì¶¨

<script language="javascript">
 function init()
          {
           var tbBody = document.getElementById("<%=GridView2.ClientID%>");
            if(tbBody!=null)
           {
           var tbHead = tbBody.cloneNode(true)
           for(i = tbHead.rows.length -1;i > 1;i--)
            tbHead.deleteRow(i);
         
           divContent.appendChild(tbHead);
           }
          }
          window.onload = init
  </script>
  <div id="divContent">
   
          </div>
          <div id ="divG" style="height: 180px;position: relative; overflow:scroll;">
 <asp:GridView ID="GridView1" runat="server" OnRowCreated="GridView1_OnRowCreated" AllowPaging="true" PageSize="15"
      AutoGenerateColumns="false"  Width="800" ShowHeader ="false"  OnRowDataBound="GridView1_RowDataBound"  DataKeyNames="XTBH">
     <AlternatingRowStyle CssClass="Alternatingback"></AlternatingRowStyle>
        <RowStyle CssClass="griditem"></RowStyle>
         <HeaderStyle BackColor="#CEDDF0" ForeColor="#000000"  Height="26px" />
    &nb


Ïà¹ØÎĵµ£º

asp.netÎļþÏÂÔØ

    //TransmitFileʵÏÖÏÂÔØ
         protected void Button1_Click1(object sender, EventArgs e)
        {
            /*
     &n ......

ASP.NET MVC ÈëÃÅ7¡¢HellperÓëÊý¾ÝµÄÌá½»Óë°ó¶¨

ASP.NET
MVCÌṩÁ˺ܶàHellperµÄ·½·¨£¬Hellper¾ÍÊÇһЩÉú³ÉHTML´úÂëµÄ·½·¨£¬·½±ãÎÒÃÇÊéдHTML´úÂë(ÓÐÒ»²¿·ÖµÄÅóÓѸüϲ»¶Ö±½ÓдHTML
´úÂë)¡£ÎÒÃÇÒ²¿ÉÒÔÀûÓÃ.NET 3.5µÄÀ©Õ¹·½·¨À´ÊéдÎÒÃÇ×Ô¼ºµÄHellper¡£
ÀýÈ磺
<%
=
Html.ActionLink(
"
Ê×Ò³
"
,
"
index
"
,
"
Home
" ......

Êý¾Ý½»»»Ñ§Ï°¶þ£ºasp.net C# ¶Ô sqlserver±íµÄ²Ù×÷

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient; ......

ASP.NET»ñÈ¡Òþ²ØÎļþµÄÀàÃû

ASP.NET»ñÈ¡Òþ²ØÎļþµÄÀàÃû£¨Ô­£© http://www.cnblogs.com/lin614/archive/2008/01/25/1052676.html Õâ¸öÎÊÌâÔÚ¿ª·¢ÖÐÓöµ½¡£
this.GetType().  µÃµ½µÄ:   ASP.****_ASPX  
ÄÇÎÒ¸ÃÈçºÎ²ÅÄܵõ½   ÀàÃû:****¡£Í¨¹ý×Ö·û´®´¦ÀíµÃµ½µÄÀàÃû×ܸоõ²»ÊÇÕý¹æÍ¾¾¶¡£
¾­¹ý²éѯ×ÊÁÏ£ ......

ѧϰASP.NET + MVC£¨Èý£©

±¾ÎÄʾÀýÔ´´úÂë»òËØ²ÄÏÂÔØ
¡¡¡¡Ò».ÕªÒª
¡¡¡¡Ò»¸öUrlÇëÇó¾­¹ýÁËRouting´¦Àíºó»áµ÷ÓÃControllerµÄAction·½·¨. ÖмäµÄ¹ý³ÌÊÇÔõÑùµÄ? Action·½·¨Öзµ»ØActionResult¶ÔÏóºó,ÈçºÎµ½´ïViewµÄ? ±¾ÎĽ«½²½âControllerµÄ»ù±¾Ó÷¨,¡¡ÉîÈë·ÖÎöControllerµÄÔËÐлúÖÆ, ²¢ÇÒÌṩÁË´´½¨ËùÓÐÀàÐÍActionµÄ´úÂë. ÖµµÃѧϰASP.NET MVCʱ²Î¿¼. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ