摘要: 获取采用: cmd2.Parameters.AddWithValue("@xh", e.GetValue("学号").ToString().Trim()); 设置: e.Row.Cells[7].Text = obj.ToString(); 改变颜色采用style_的方法 //r.Cells[8]. 阅读全文
posted @ 2018-10-30 08:53 qqhfeng16 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 1.取得控件值 using System.Collections.Generic; //取得当前控件值的集合 直接寻找控件的ID List<object> keyValues = this.GridViewmethod.GetSelectedFieldValues("F_XXX");//控件的ID 阅读全文
posted @ 2018-10-30 00:02 qqhfeng16 阅读(316) 评论(0) 推荐(0) 编辑
摘要: protected void ASPxGridView1_HtmlRowCreated(object sender,DevExpress.Web.ASPxGridView.ASPxGridViewTableRowEventArgs e) { if (e.RowType != DevExpress.Web.ASPxGridView.GridViewRowTy... 阅读全文
posted @ 2018-10-30 00:01 qqhfeng16 阅读(295) 评论(0) 推荐(0) 编辑