Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 AJAX ÖÐ UpdateProgress µÄ覴ü°Æä½â¾ö·½·¨


... Ç°ÑÔ
  ÔÚWebÓ¦ÓóÌÐòÖУ¬ÒýÈëAJAX£¬²»½ö¿ÉÒÔÌá¸ßÓû§ÌåÑ飨ҳÃæ¾Ö²¿Ë¢Ð£©£¬¶øÇÒ¿ÉÒÔÔÚÒ»¶¨³Ì¶ÈÉÏ£¬½µµÍWeb·þÎñÆ÷µÄ¹¤×÷¸ºÔغÍÏìӦʱ¼ä¡£
  AJAX ʹÓÃJavascript£¬ÔÚ¿Í»§¶Ë£¨ä¯ÀÀÆ÷¶Ë£©£¬Í¨¹ýHttp(s)ЭÒ飬Ïò·þÎñÆ÷¶Ë £¨Web Server£©·¢ÆðÇëÇó£»·þÎñÆ÷¸ù¾ÝÇëÇóµÄURI£¬
Íê³ÉÏàÓ¦µÄÂß¼­²Ù×÷£¬¶ûºó½«Ö´ÐÐµÄ ......

asp.net ÔÚIISϲÙ×÷ExcelÎļþȨÏÞ²»×ãµÄ½â¾ö·½·¨

±¨´íÐÅÏ¢ÈçÏ£º
¼ìË÷ COM À๤³§ÖÐ CLSID Ϊ {00024500-0000-0000-C000-000000000046} µÄ×é¼þʱʧ°Ü£¬Ô­ÒòÊdzöÏÖÒÔÏ´íÎó: 80070005¡£
ÍøÉÏÕÒÌù½â¾öÈçÏ£¬×ªÌù×÷¼Ç~~
ת×Ô£ºhttp://blog.csdn.net/happy_ddm/archive/2007/07/09/1683207.aspx
½â¾ö·½·¨£º
ÔÚDCOM×é¼þ·þÎñÖиøMICROSOFT.EXCEL×é¼þ¸³ÓèASP.NETµÄ²Ù×÷ȨÏÞ£¬ ......

ASP.NET Ê÷½á¹¹¼°È¨ÏÞÊ÷µÄÉè¼Æ

 
1£®Ê÷ÐνṹµÄÉè¼Æ
ÔÚ¿ª·¢ASP.NETµÄÏîÄ¿ÖУ¬ÓÐÐí¶àÏîÄ¿Óõ½µÄÊ÷Ðνṹ£¬ÆäÖÐÓÐЩÊ÷ÐνṹÏà¶Ô¸´ÔÓ£¬Ò²Óмòµ¥µÄ£¬µ«ÎÞÂÛÊǼòµ¥µÄÊ÷Ðνṹ»¹ÊǸ´ÔÓµÄÊ÷Ðνṹ£¬ÓÐןõĽṹ¶ÔÓÚÐÔÄܺÍÎȶ¨ÐÔ¶¼ÓÐןܴóµÄ×÷ÓᣱÈÈçÄãµÄÊ÷½á¹¹µÄÊý¾ÝºÜ´ó£¬Èç¹ûÊDzÉÓñȽÏËÀµÄ·½Ê½Ò»´ÎÐÔ¼ÓÔؽøÀ´ÄÇôÄãÔÚ¼ÓÔØÕâ¿ÃÊ÷µÄʱºò¾ÍÊÇÏ൱µÄºÄ ......

ASP.NET MVC 2 RC ·¢²¼

ASP.NET MVCÊǼÌASP.NET WebFormsÖ®ºó£¬Î¢ÈíÍƳöµÄFront ControllerʽµÄWeb¿ª·¢Ä£ÐÍ£¬ËüÃÖ²¹ÁËÇ°Õ߶ÔHTML¿ØÖÆÄÜÁ¦²»×㣬µ¥Ôª²âÊÔ½ÏΪÀ§ÄѵÈȱµã¡£¸üÖØÒªµÄÊÇ£¬ASP.NET MVC»ùÓÚMS-PL·¢²¼£¬ÊÇÒ»¸öÕæÕýµÄ¿ªÔ´¿ò¼Ü——ÇÒûÓÐÈκÎƽ̨ÏÞÖÆ£¬Ò²¾ÍÊÇ˵£¬Äú¿ÉÒÔÔÚmonoÏÂʹÓûò¿ª·¢ASP.NET MVCµÄÏà¹ØÏîÄ¿¡£ ΢ÈíÔÚ½ñÄê3Ô ......

asp.netС֪ʶ


ºǫ́¸ø¿Ø¼þÌí¼Ójs·½·¨
this.btnOK.Attributes["onclick"] = "javascript:return confirm(\"È·¶¨±£´æ£¿\");";
»òÕß
<mce:script type="text/javascript"><!--
function shijian()
{
return confirm(\"È·¶¨±£´æ£¿\");
}
// --></mce:script>
this.btnOK.Attributes["onclick"] = "return sh ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ