我有三条数据:1000,10000,30在生成页面的跟踪的结果是:1000,11000,11030,12030,
22030,22060。
而我看到的e.item.ItemIndex值却是:0,1,2,0,1,2
为什么会出现两次重复的情况呢??有什么方法可以得到正确的结果呢?
谢谢~~~~~
22030,22060。
而我看到的e.item.ItemIndex值却是:0,1,2,0,1,2
为什么会出现两次重复的情况呢??有什么方法可以得到正确的结果呢?
谢谢~~~~~
调试欢乐多
<%@ Page AutoEventWireup ="false" %>??make sure dgRec_ItemDataBound is not bound twice (once in aspx, once in InitComponents...)
===>
<asp:DataGrid id="dgRec" runat="Server">