上一篇 | 下一篇

DataGrid使用心得(附大量代码)

发布: 2008-6-26 22:34 | 作者: admin | 来源: | 查看: 12次

}

publicstaticvoidSort(stringactorclassID,stringorderID)

{

stringtemp="";

if(Int32.Parse(BgPicManage.GetMaxCode("actorclass","orderID"))==Int32.Parse(orderID))

{

temp+="";

}

if(Int32.Parse(orderID)==0)

{

temp+="";

}

}

12.DataGrid控件自定义分页代码

将下列代码放于包含的form中去,

Font-size="8pt"ForeColor="navy"CommandArgument="0">

Font-size="8pt"ForeColor="navy"CommandArgument="prev">

Font-size="8pt"ForeColor="navy"CommandArgument="next">

Font-size="8pt"ForeColor="navy"CommandArgument="last">

后台代码

privatevoidPage_Load(objectsender,System.EventArgse)

{

//在此处放置用户代码以初始化页面

btnFirst.Text="最首页";

btnPrev.Text="前一页";

btnNext.Text="";

btnLast.Text="最后页";

//绑定数据源

if(!Page.IsPostBack

[8] [9] [10]

字号: | 推荐给好友

评分:0

我来说两句