示例#1
0
        public int UpdateCatalogImage(DataRow dataRow)
        {
            CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter();

            return(dataAdapter.Update(dataRow));
        }
示例#2
0
        public int UpdateCatalogImage(int id, byte[] imageBytes)
        {
            CatalogPicturesTableAdapter dataAdapter = new CatalogPicturesTableAdapter();

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