public static List <DisplayPage_Config> GetDisplayConfig(string moduleName, string className) { ADODisplayPage_Config configInstance = new ADODisplayPage_Config(); string where = string.Format(" AND DCP_ModuleName='{0}' AND DCP_Model='{1}' Order by DCP_Order ASC", moduleName, className); return(configInstance.GetListByWhere(where)); }