Exemple #1
0
        private static List <NvListItem> ListDataSource(string JsonSource, string ddlType, List2Item parameter)
        {
            List <NvListItem> myListData;

            if (JsonSource == "")
            {
                parameter.Operate = ddlType;
                //  string SP = CommonExcute.SPNameAndParameters(JsonSource, "General", "DDList");
                //   myListData = CommonListExecute<NVListItem>.GeneralList(SP, parameter);
                //  myListData = CommonExcute<NVListItem>.GeneralList(SP, parameter);

                myListData = GeneralExe.DDListNV(parameter);
            }
            else
            {
                myListData = JsonFileReader.GetNvList(JsonSource, ddlType);
            }
            return(myListData);
        }