Exemplo n.º 1
0
        public int UpdateCatalogType(DataRow dataRow)
        {
            CatalogTypesTableAdapter dataAdapter = new CatalogTypesTableAdapter();

            return(dataAdapter.Update(dataRow));
        }
Exemplo n.º 2
0
        // UPDATE

        public int UpdateCatalogType(int id, string type)
        {
            CatalogTypesTableAdapter dataAdapter = new CatalogTypesTableAdapter();

            return(dataAdapter.Update(type, id));
        }