public static string GetAreaNameForID(string id) { DataRow[] rows = AreaTable.Select(COL_AREA_OBJECTNAME + "='" + id + "'"); if (rows.Length > 0) { return(Convert.ToString(rows[0][COL_AREA_NAME])); } else { return(id); } }
public static string GetAreaNameForID(string id) { DataRow[] rows = AreaTable.Select(COL_AREA_OBJECTNAME + "='" + id + "'"); if (rows.Length > 0) { return(Convert.ToString(rows[0][COL_AREA_NAME])); } else { return(id); } }