protected void gridUser_CustomColumnDisplayText(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewColumnDisplayTextEventArgs e) { if (e.Column.FieldName == "USERSTATUS") { e.DisplayText = UserHandle.ReturnState(TypeParse.StrToInt(e.GetFieldValue("USERSTATUS"), 0)); } //if (e.Column.FieldName == "ISONLINE") //{ // e.DisplayText = e.GetFieldValue("ISONLINE") == "1" ? "在线" : "离线"; //} }