protected void ASPxGridView1_SelectionChanged(object sender, EventArgs e) { List<object> table = ASPxGridView1.GetSelectedFieldValues(new string[] { ASPxGridView1.KeyFieldName,"Approve" });//这里是想要获取的字段名列表。 if (table.Count == 0) return; object[] row = (object[])table[0];//这是得到第一行记录的值,如果是多行选择,可以循环取出。 string no = (bool)row[0]; //string script = String.Format("GetInfo('{0}')", no); //ScriptManager.RegisterStartupScript(this, this.GetType(), "", script, true); }