I am using DevExpress Gridview bound to a SqlDataSource. At run time based on a field 'SchoolType' whose possible values are N or D; I want to change N to Non-Denom and D to Denom. I have tried the following the code to find the value but I can't figure out how to set or display the value as Denom or Non-Denom? Any ideas? Thanks
protected void gvSchools_HtmlRowCreated(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewTableRowEventArgs e)
if (e.RowType != DevExpress.Web.ASPxGridView.GridViewRowType.Data) return;
string str = (string)gvSchools.GetRowValues(e.VisibleIndex, "SchoolType");
if (str == "N")
// how to set the value?