Exemplo n.º 1
0
        public static List <Store> GetColorDetail(int Event, int id, string code, string code1)
        {
            var lst = new List <Store>();
            var dt  = DlStore.GetStoreDetail(Event, id, code, code1);

            if (dt.Rows.Count > 0)
            {
                foreach (DataRow dr in dt.Rows)
                {
                    var obj = new Store(Convert.ToInt32(dr["Id"]), int.Parse(dr["Store_No"].ToString()), dr["Store_Name"].ToString());
                    lst.Add(obj);
                }
            }
            return(lst);
        }
Exemplo n.º 2
0
        public static DataTable GetStoreDetails(int Event, int id, string code, string code1)
        {
            var dt = DlStore.GetStoreDetail(Event, id, code, code1);

            return(dt);
        }