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);
        }
Exemplo n.º 3
0
 public static string InsUpdDelStore(char Event, Store obj, out int id)
 {
     id = 0;
     return(DlStore.InsUpdDelStore(Event, obj, out id));
 }