USP_SITESTYLESHEETS_EDIT

The save procedure used by the edit dataform template "FAFSiteStyleSheet Edit Data Form".

Parameters

Parameter Parameter Type Mode Description
@ID int IN The input ID parameter indicating the ID of the record being edited.
@VANITYURL1 nvarchar(255) IN Vanity URL

Definition

Copy

CREATE procedure dbo.USP_SITESTYLESHEETS_EDIT  
(  
  @ID int ,
  @VANITYURL1  nvarchar(255
)  
as  
 set nocount on;   
 begin try    
update Sitestylesheets 
set CustomCss = '', CustomCssXml = '' where ID = @ID 
 end try  
 begin catch  
  exec dbo.USP_RAISE_ERROR  
  return 1  
 end catch    
return 0;