public static string GetDisplayColumn(string strTableName)
        {
            String strResult = String.Empty;

            if (DataConfigProvider.TableConfigList.ContainsKey(strTableName))
            {
                foreach (DataConfigProvider.FieldConfig fieldConfig in DataConfigProvider.TableConfigList[strTableName].FieldConfigList.Values)
                {
                    if (fieldConfig.IsDisplayField)
                    {
                        strResult = fieldConfig.FieldName;
                        break;
                    }
                }
            }

            if (String.IsNullOrWhiteSpace(strResult))
            {
                strResult = DataStructureProvider.GetNAMEColumn(strTableName);
            }

            if (String.IsNullOrWhiteSpace(strResult))
            {
                strResult = DataStructureProvider.GetNOColumn(strTableName);
            }

            if (String.IsNullOrWhiteSpace(strResult))
            {
                if (DataStructureProvider.IsTableColumn(strTableName, "Remark"))
                {
                    strResult = "Remark";
                }
            }
            if (String.IsNullOrWhiteSpace(strResult))
            {
                strResult = DataStructureProvider.GetPrimaryKeyColumn(strTableName);
            }

            return(strResult);
        }