看了這個控件,才發覺我的控件只是個嬰兒https://files.cnblogs.com/invinboy/DotNetGrid.rar,兄弟們可以下載這個用.可以去看看這個控件的功能http://invinboy.cnblogs.com/archive/2006/05/06/DotNetGrid.html.

參考別人的源碼,我寫了平生第一個DataGrid控件,不要笑我,有用的上的兄弟們儘管用,我調適過了,使用正常.以後我努力的自創出其他的控件,歡迎關注...

參考別人的源碼,我的第一個控件誕生了(DataGrid)
/Files/robin0925/DataGrid_itec.rar

調用方法:
 1.将控件拖到Web Page , 設置分頁屬性
 2.代碼中 
           DataGrid_itec.iTECDataGrid.DT = ds.Tables[0];    ***傳數據到Server Control
           ITECDataGrid1.DataSource = ds.Tables[0]; 
           ITECDataGrid1.DataBind();       ***Bind數據



參考別人的源碼,我的第一個控件誕生了(DataGrid)using System;
參考別人的源碼,我的第一個控件誕生了(DataGrid)
using System.Data;
參考別人的源碼,我的第一個控件誕生了(DataGrid)
using System.Web.UI;
參考別人的源碼,我的第一個控件誕生了(DataGrid)
using System.Web.UI.WebControls;
參考別人的源碼,我的第一個控件誕生了(DataGrid)
using System.ComponentModel;
參考別人的源碼,我的第一個控件誕生了(DataGrid)
參考別人的源碼,我的第一個控件誕生了(DataGrid)
namespace DataGrid_itec

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-10-14
  • 2021-11-24
  • 2021-08-18
猜你喜欢
  • 2021-09-28
  • 2021-09-09
  • 2021-05-28
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案