Beispiel #1
0
        public int UpdateCatalogType(DataRow dataRow)
        {
            CatalogTypesTableAdapter dataAdapter = new CatalogTypesTableAdapter();

            return(dataAdapter.Update(dataRow));
        }
Beispiel #2
0
        // UPDATE

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

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