我仿照小海龟的代码
video.ID = ((DataTable)this.GridView1.DataSource).Rows[GridView1.CurrentRow.Index].ItemArray[0].ToString();
错误提示:“System.Web.UI.WebControl.Gridview”并不包含CurrentRow定义。

我仿照小海龟的代码
video.ID = ((DataTable)this.GridView1.DataSource).Rows[GridView1.CurrentRow.Index].ItemArray[0].ToString();
错误提示:“System.Web.UI.WebControl.Gridview”并不包含CurrentRow定义。