摘要:
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 阅读全文