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

Asp.net: GridView72¾ø¼¼

 
 
 
 
 
GridViewÎÞ´úÂë·ÖÒ³ÅÅÐò
GridViewÑ¡ÖУ¬±à¼­£¬È¡Ïû£¬É¾³ý
GridViewÕý·´Ë«ÏòÅÅÐò
GridViewºÍÏÂÀ­²Ëµ¥DropDownList½áºÏ
GridViewºÍCheckBox½áºÏ
Êó±êÒƵ½GridViewijһÐÐʱ¸Ä±ä¸ÃÐеı³¾°É«·½·¨Ò»
Êó±êÒƵ½GridViewijһÐÐʱ¸Ä±ä¸ÃÐеı³¾°É«·½·¨¶þ
GridViewʵÏÖɾ³ýʱµ¯³öÈ·È϶Ի°¿ò
GridViewʵÏÖ×Ô¶¯±àºÅ
GridViewʵÏÖ×Ô¶¨Òåʱ¼ä»õ±ÒµÈ×Ö·û´®¸ñʽ
GridViewʵÏÖÓÓ...”´úÌ泬³¤×Ö·û´®
GridViewÒ»°ã»»ÐÐÓëÇ¿ÖÆ»»ÐÐ
GridViewÏÔʾÒþ²ØijһÁÐ
GridViewµ¯³öÐÂÒ³Ãæ/µ¯³öд°¿Ú
GridView¹Ì¶¨±íÍ·(²»ÓÃjavascriptÖ»ÓÃCSS£¬2ÐдúÂ룬ºÜºÃÓÃ)
GridViewºÏ²¢±íÍ·¶àÖرíÍ·ÎÞ´íÍêÃÀ°æ£¨ÒԺϲ¢3ÁÐ3ÐоÙÀý£©
GridViewÍ»³öÏÔʾijһµ¥Ôª¸ñ£¨ÀýÈç½ð¶îµÍÓÚ¶àÉÙ£¬·ÖÊý²»¼°¸ñµÈ£©
GridView¼ÓÈë×Ô¶¯ÇóºÍÇóƽ¾ùֵС¼Æ
GridViewÊý¾Ýµ¼ÈëExcel/ExcelÊý¾Ý¶ÁÈëGridView
1.GridViewÎÞ´úÂë·ÖÒ³ÅÅÐò£º
Ч¹ûͼ£º
1.AllowSortingÉèΪTrue£¬aspx´úÂëÖÐÊÇAllowSorting="True"£»
2.ĬÈÏ1Ò³10Ìõ£¬Èç¹ûÒªÐÞ¸ÄÿҳÌõÊý£¬ÐÞ¸ÄPageSize¼´¿É£¬ÔÚaspx´úÂëÖÐÊÇPageSize="12"¡£
3.ĬÈϵÄÊǵ¥ÏòÅÅÐòµÄ£¬ÓÒ»÷GridViewµ¯³ö“ÊôÐÔ”£¬Ñ¡ÔñAllowSortingΪTrue¼´¿É¡£
2.GridViewÑ¡ÖУ¬±à¼­£¬È¡Ïû£¬É¾³ý£º
Ч¹ûͼ£º
ºǫ́´úÂ룺
Äã¿ÉÒÔʹÓÃsqlhelper,±¾ÎÄûÓᣴúÂëÈçÏ£º
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.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
//ÇåÇåÔ¶ù
http://blog.csdn.net/21aspnet
 
    SqlConnection sqlcon;
    SqlCommand sqlcom;
    string strCon = "Data Source=(local);Database=Êý¾Ý¿âÃû;Uid=ÕʺÅ;Pwd=ÃÜÂë";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bind();
      &nbs


Ïà¹ØÎĵµ£º

asp.net utf 8 ÖÐÎÄÂÒÂëÎÊÌâ

Unicode ±àÂëÕýÖð½¥³ÉΪ¶àÓïÑÔÖ§³ÖµÄ×îͨÓýâ¾ö·½°¸¡£²ÉÓà Unicode ±àÂëµÄÖÐÎÄÍøÒ³ÄÜÔÚ¸÷ÖÖƽ̨¡¢¸÷ÖÖÀàµÄä¯ÀÀÆ÷É϶¼µÃµ½ºÜºÃµÄ¼æÈÝ¡£utf-8 ÊÇ Unicode µÄÒ»ÖÖ´æ´¢/½»»»ÊµÏÖ·½Ê½¡£¶ÔÓÚ²»Í¬ÊýÖµ·¶Î§µÄ Unicode Â룬Ëü²ÉÓñ䳤µÄ·½Ê½À´±àÂ룺ËùÓÐ ASCII ×Ö·ûÕ¼ÓÃ1¸ö×Ö½Ú£¬´óÓÚ 0x7f µÄÔòÕ¼ÓÃ2µ½4×Ö½Ú²»µÈ¡£¿ÉÒÔ¿´³ö£¬ËùÓÐ ASC ......

ASP.NET ÈçºÎ£ºÅäÖöà¸öÕ¾µãµØͼºÍÕ¾µãµØͼÌṩ³ÌÐò


      ĬÈÏÇé¿öÏ£¬ASP.NET ÍøÕ¾µ¼º½Ê¹ÓÃÒ»¸öÃûΪ Web.sitemap µÄ XML Îļþ£¬¸ÃÎļþÃèÊöÍøÕ¾µÄ²ã´Î½á¹¹¡£µ«ÊÇ£¬Äú¿ÉÄÜҪʹÓöà¸öÕ¾µãµØͼÎļþ»òÕ¾µãµØͼÌṩ³ÌÐòÀ´ÃèÊöÕû¸öÍøÕ¾µÄµ¼º½½á¹¹¡£
ÀýÈ磬Äú¿ÉÒÔ¾ßÓÐÒýÓÃ×ÓÕ¾µãµØͼµÄÖ÷Õ¾µãµØͼ¡£Ö÷Õ¾µãµØͼ¿ÉÒÔÊÇ£º
<?xml version="1.0" encoding ......

ASP.NET TreeView Web ·þÎñÆ÷¿Ø¼þ¸ÅÊö


      TreeView Web ·þÎñÆ÷¿Ø¼þÓÃÓÚÒÔÊ÷ÐνṹÏÔʾ·Ö²ãÊý¾Ý£¬ÈçĿ¼»òÎļþĿ¼¡£
 
Ò»¡¢TreeView ¿Ø¼þÖ§³ÖÏÂÃæµÄ¹¦ÄÜ£º
·×Ô¶¯Êý¾Ý°ó¶¨£¬¸Ã¹¦ÄÜÔÊÐí½«¿Ø¼þµÄ½Úµã°ó¶¨µ½·Ö²ãÊý¾Ý£¨Èç XML Îĵµ£©¡£
·Í¨¹ýÓë SiteMapDataSource ¿Ø¼þ¼¯³ÉÌṩ¶ÔÕ¾µãµ¼º½µÄÖ§³Ö¡£
·¿ÉÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ