private List<PaymentDetails1> dataSource()
        {
            List<PaymentDetails1> list = new List<PaymentDetails1>();
            for (int i = 0; i < 10; i++)
            {
                PaymentDetails1 entity = new PaymentDetails1();
                entity.index = i + 1;
                entity.PaymentItem = "垂虹园二期项目";
                entity.ExchangeRate = 0.8;
                entity.RMB = 100999.0909;
                entity.Totle = 50.00;
                entity.aHref = "www.baidu.com";
                entity.aText = "www.baidu.com";
                entity.INT = i;

                subEntity subEntity1 = new subEntity();
                subEntity1.name = "name" + i.ToString();
                subEntity1.sex = "M";
                if (i % 2 == 0)
                    subEntity1.sex = "W";

                entity.Person = subEntity1;

                if (i % 2 == 0)
                    entity.Currency = "0.91"; //港币
                else
                    entity.Currency = "1.1920007"; //人民币

                list.Add(entity);
            }
            return list;
        }
예제 #2
0
        private List <PaymentDetails1> dataSource()
        {
            List <PaymentDetails1> list = new List <PaymentDetails1>();

            for (int i = 0; i < 10; i++)
            {
                PaymentDetails1 entity = new PaymentDetails1();
                entity.index        = i + 1;
                entity.PaymentItem  = "垂虹园二期项目";
                entity.ExchangeRate = 0.8;
                entity.RMB          = 100999.0909;
                entity.Totle        = 50.00;

                if (i % 2 == 0)
                {
                    entity.Currency = "0.91"; //港币
                }
                else
                {
                    entity.Currency = "1.1920007"; //人民币
                }
                list.Add(entity);
            }
            return(list);
        }
예제 #3
0
        private List<PaymentDetails1> dataSource()
        {
            List<PaymentDetails1> list = new List<PaymentDetails1>();
            for (int i = 0; i < 10; i++)
            {
                PaymentDetails1 entity = new PaymentDetails1();
                entity.index = i + 1;
                entity.PaymentItem = "垂虹园二期项目";
                entity.ExchangeRate = 0.8;
                entity.RMB = 100999.0909;
                entity.Totle = 50.00;

                if (i % 2 == 0)
                    entity.Currency = "0.91"; //港币
                else
                    entity.Currency = "1.1920007"; //人民币

                list.Add(entity);
            }
            return list;
        }
        private List <PaymentDetails1> dataSource()
        {
            List <PaymentDetails1> list = new List <PaymentDetails1>();

            for (int i = 0; i < 10; i++)
            {
                PaymentDetails1 entity = new PaymentDetails1();
                entity.index        = i + 1;
                entity.PaymentItem  = "垂虹园二期项目";
                entity.ExchangeRate = 0.8;
                entity.RMB          = 100999.0909;
                entity.Totle        = 50.00;
                entity.aHref        = "www.baidu.com";
                entity.aText        = "www.baidu.com";
                entity.INT          = i;

                subEntity subEntity1 = new subEntity();
                subEntity1.name = "name" + i.ToString();
                subEntity1.sex  = "M";
                if (i % 2 == 0)
                {
                    subEntity1.sex = "W";
                }

                entity.Person = subEntity1;

                if (i % 2 == 0)
                {
                    entity.Currency = "0.91"; //港币
                }
                else
                {
                    entity.Currency = "1.1920007"; //人民币
                }
                list.Add(entity);
            }
            return(list);
        }