引贴 http://topic.csdn.net/u/20091224/10/d619a787-7a03-4eb0-be32-9725d624f3ad.html
我现在要获触发这个事件 Item 的第10列的值 不是名字改怎么写
还望各位大侠来帮在下看看 写过 
对了一定要看引帖才知道事件的经过 哦 

解决方案 »

  1.   

    http://topic.csdn.net/u/20091224/10/d619a787-7a03-4eb0-be32-9725d624f3ad.html
      

  2.   

       void DGridGPS_ItemDataBound1(object sender, DataGridItemEventArgs e)
            {
                 if (e.Item.ItemType==ListItemType.Item||e.Item.ItemType=ListItemType.AlternatingItem)//需要判断一下是否为数据行
                 {
                     string a = e.Item.Cells[9].Text;//第10列的index是9,索引实际是从0开始的
                 }
            }
      

  3.   

     e.Item.Cells[9].Text;//第10列的index是9,索引实际是从0开始的
    不对  你这个只能获得列名称不能获得我要的值
    而且你的代码还报错
      

  4.   

    我要得到一个combox其中的一个值
      

  5.   

    http://blog.csdn.net/xianfajushi/archive/2008/11/30/3413317.aspx