예제 #1
0
        public ProductCategoryInfo getEditdata(int pc_id)
        {
            ProductCategoryInfo info   = new ProductCategoryInfo();
            IDataReader         reader = db.GetEditData(pc_id).CreateDataReader();

            while (reader.Read())
            {
                info = ProductCategoryInfo.Populate(reader);
            }
            return(info);
        }