摘要: 1、RowCommad //获得索引int index = ((GridViewRow)(((Button)(e.CommandSource)).Parent.Parent)).RowIndex;2、RowEditing等//获得索引int index = e.NewEditIndex;//获取当前GridViewRow对象GridViewRow editGridViewRow = autoGridView.Rows[girdviewEditIndex];//获取内容方法一 row中有控件Label Label girdviewTitleLabel = editGridViewRow.Cell 阅读全文
posted @ 2011-07-30 00:16 长城的草 阅读(353) 评论(0) 推荐(0) 编辑