文档介绍:GridView论文数据绑定论文
GridView论文数据绑定论文
摘要:,其强大的数据绑定功能和页面显示功能给开发带来很大的效率。("ddlpagenumbers")
if (ddlpagenumbers isnot nothing) then
initpagenumbers(ddlpagenumbers)
addhandler , addressof onselectedpageindexchanged
end if
lbtngofirst = ("lbtngofirst")
lbtngoprev = ("lbtngoprev")
lbtngonext = ("lbtngonext")
lbtngolast = ("lbtngolast")
dim currentpageindex as integer
dim pagecount as integer
currentpageindex =
pagecount =
= pagecount > 1
if (lbtngofirst isnot nothing) then
= pagecount > 1 and currentpageindex > 0
end if
if (lbtngoprev isnot nothing) then
= pagecount > 1 and currentpageindex > 0
end if
if (lbtngonext isnot nothing) then
= pagecount > 1 and currentpageindex 1 and currentpageindex < pagecount - 1
end if
dim labelpagecount as label
labelpagecount = ("labelpagecount")
if (labelpagecount isnot nothing) then
= ()
end if
end if
end sub
protected sub gridview1_blank(byval sender as object, byval e as gridviewroweventargs)
if ( = datacontrolrowtyp