2007-02-15

 

招数已老?

asp.net中,在pageLoad()中,检查GridView最新的记录行数,可令人惊讶的是,取来取去,总是之前显示的行数,费了好大的劲,才明白,要在GridView的preRender()中取最新行数,哎,原来如此……,真是招数用老,怎么也转不过弯来,想不到啊,想不到。

参考网址:
http://www.15seconds.com/issue/020102.htm
http://msdn2.microsoft.com/en-us/library/ms178472(VS.80).aspx

Labels: ,


Comments: Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]