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

asp.netÉú³É¾²Ì¬Ò³Ãæ·½·¨ÊµÀý,°üÀ¨datalist

Ê×ÏȽ¨Ò»¸öÏëÒªÉú³É¾²Ì¬Ò³µÄaspxÒ³DynamicPage.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DynamicPage.aspx.cs" Inherits="DynamicPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <title>ÕâÊǸö¶¯Ì¬Ò³</title>
</head>
<body>
  <form id="form1" runat="server">
  <div>
    ÎÒÊǸö¶¯Ì¬Ò³
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="testid"
        DataSourceID="SqlDataSource1" Width="386px">
        <Columns>
          <asp:BoundField DataField="testid" HeaderText="testid" InsertVisible="False" ReadOnly="True"
            SortExpression="testid" />
          <asp:BoundField DataField="testname" HeaderText="testname" SortExpression="testname" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:testConnectionString %>"
        SelectCommand="SELECT [testid], [testname] from [test_table]"></asp:SqlDataSource>
  </div>  
  </form>
</body>
</html>
È»ºó½¨Ò»¸öÓÃÓÚÉú³ÉÆäËüÒ³ÃæµÄDefault.aspx,²¢ÇÒÍÏ·ÅÒ»¸ö°´Å¥£¬È»ºóÔÚ´úÂëÒþ²ØÎļþÖмüÈëÈçÏ´úÂ룺
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web


Ïà¹ØÎĵµ£º

ASP.NET ASP.NET ·þÎñÆ÷¿Ø¼þµÄÑéÖ¤´íÎóÐÅÏ¢²¼¾Ö


      µ±´íÎóÐÅÏ¢³öÏÖÔÚÒ³ÉÏʱ£¬Ëü³ÉΪҳ²¼¾ÖµÄÒ»²¿·Ö¡£ÄúÐèÒªÉè¼ÆÒ³µÄ²¼¾ÖÒÔ·ÅÖÿÉÄܳöÏÖµÄÈκδíÎóÎı¾¡£
Èç¹ûÑéÖ¤ÔÚ·þÎñÆ÷ÉÏÖ´ÐУ¬Ôò³ý·Ç³öÏÖ´íÎ󣬷ñÔòÑéÖ¤¿Ø¼þ²»»á³ÊÏÖµ½Ò³£¬²¢Òò´Ë²»»áÕ¼ÓÃÈκοռ䡣Èç¹û³öÏÖ´íÎó£¬Ò³½«ÔÚÍù·µÆÚ¼äÖØд´½¨£¬²¢½«´íÎóÎı¾Ìí¼Óµ½Ò³¡£
Èç¹ûÓû§¾ßÓÐÖ§³Ö¶¯Ì ......

ASP.NET ÈçºÎ£º½ûÓà ASP.NET ·þÎñÆ÷¿Ø¼þÑéÖ¤


      ÔÚÌض¨Ìõ¼þÏ£¬Äú¿ÉÄÜÐèÒª±Ü¿ªÑéÖ¤¡£ÀýÈ磬Äú¿ÉÄܾßÓÐÒ»¸öÒ³Ã棬¼´Ê¹Óû§Ã»ÓÐÕýÈ·ÌîдËùÓÐÑéÖ¤×ֶΣ¬Ò²Ó¦¸Ã¿ÉÒÔ·¢ËÍÒ³¡£Äú¿ÉÒÔÉèÖà ASP.NET ·þÎñÆ÷¿Ø¼þÀ´±Ü¿ª¿Í»§¶ËºÍ·þÎñÆ÷µÄÑéÖ¤£¬¶ø²»Ö»ÊÇ¿Í»§¶ËÑéÖ¤¡£
°²È«ËµÃ÷£º ĬÈÏÇé¿öÏ£¬ASP.NET ÍøÒ³Ö´ÐÐÇëÇóÑéÖ¤ÒÔÈ·±£Óû§ÊäÈëÄÚÈݲ»°üº¬½Å±¾» ......

ASP.NET ÈçºÎ£ºÒÔ±à³Ì·½Ê½ÑéÖ¤ ASP.NET ·þÎñÆ÷¿Ø¼þ


      ĬÈÏÇé¿öÏ£¬ÔÚÒ³»Ø·¢µ½·þÎñÆ÷ʱ¡¢Ò³³õʼ»¯Ö®ºó£¨¼´ÊÓͼ״̬ºÍ»Ø·¢Êý¾ÝÒÑ´¦ÀíÖ®ºó£©ºÍµ÷ÓÃʼþ´¦Àí´úÂë֮ǰ£¬ASP.NET ÑéÖ¤¿Ø¼þ½«×Ô¶¯Ö´ÐÐÑéÖ¤¡£Èç¹ûä¯ÀÀÆ÷Ö§³Ö¿Í»§¶Ë½Å±¾£¬¿Ø¼þÒ²¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐÖ´ÐÐÑéÖ¤¡£
µ«ÊÇ£¬ÓÐʱÄú¿ÉÄÜÐèÒªÒÔ±à³Ì·½Ê½Ö´ÐÐÑéÖ¤¡£ÔÚÒÔÏÂÇé¿öÏ£¬Äú¿ÉÄÜÐèҪͨ¹ý±à³ÌÀ´½ ......

ASP.NET ½«Í¼ÏñÓÃÓÚ Menu ¿Ø¼þ

 
      ¿ÉÒÔʹÓÃͼÏñÀ´ÔÚÊó±êÖ¸ÕëÐüÍ£Óڲ˵¥ÏîÉÏ·½Ê±Ö¸Ê¾´æÔÚ¿ÉÓÃ×Ӳ˵¥Ïî¡£»¹¿ÉÒÔʹÓÃͼÏñÀ´Çø·Ö¾²Ì¬ºÍ¶¯Ì¬²Ëµ¥Ï»òÓÃͼÏñ³äµ±Õû¸ö²Ëµ¥»òij¸ö¼¶±ðµÄ²Ëµ¥ÏîµÄ±³¾°¡£
¿ÉÒÔʹÓü¶ÁªÑùʽ±í (CSS) ºÍ Menu ¿Ø¼þµÄÊôÐÔÀ´Ö¸¶¨ÒªÊ¹ÓõÄͼÏñ£¬ÒÔ¼°ÕâЩͼÏñµÄÏÔʾ·½Ê½¡£
 
Ò»¡¢Ê¹ÓÃĬÈ쵀 ......

ASP.NETÑéÖ¤¿Ø¼þÏê½â

¡¡¡¡ASP.NETÊÇ΢ÈíÍƳöµÄÏÂÒ»´úWEB¿ª·¢¹¤¾ß£¬ÆäÇ¿´óµÄ¹¦ÄÜÁ¢¼´ÎüÒýÁËÒ»´óÅúWEB¿ª·¢ÕßͶÈëËüµÄÃÒÏ¡£ÏÖÔÚ£¬ÎÒÃÇÀ´¿´¿´ASP.NETµÄÑéÖ¤¿Ø¼þ£¬¸ÐÊÜASP.NETµÄÇ¿´ó¹¦ÄÜͬʱ·½±ãÎÒÃÇÏÖÔÚµÄWEB¿ª·¢¡£
WEB¿ª·¢ÕßÌرðÊÇASP¿ª·¢Õߣ¬Ò»Ö±¶ÔÊý¾ÝÑéÖ¤±È½ÏÄջ𣬵±ÄãºÃ²»ÈÝÒ×д³öÊý¾ÝÌá½»³ÌÐòµÄÖ÷ÌåÒԺ󣬻¹²»µÃ²»»¨´ó°Ñʱ¼äÈ¥ÑéÖ¤Óû§µÄà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ