⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbpatch.sql

📁 Excel Reader for Portal Rainbow
💻 SQL
字号:
/*OneFileModule module : ExcelReader by Thierry (Tiptopweb)This patch introduces the following changes to the db:- Inserts entry in table rb_GeneralModuleDefinitions- Inserts entry in table rb_ModuleDefinitions*/DECLARE @GeneralModDefID uniqueidentifierDECLARE @FriendlyName nvarchar(128)DECLARE @DesktopSrc nvarchar(256)DECLARE @MobileSrc nvarchar(256)DECLARE @AssemblyName varchar(50)DECLARE @ClassName nvarchar(128)DECLARE @Admin bitDECLARE @Searchable bitSET @GeneralModDefID = '{1E03D793-5A01-4f35-811D-5D23EF66618D}'   -- ***** generate a new GUID and copy in .ascx *****SET @FriendlyName = 'ExcelReader (OneFileModule)'  -- You enter the module UI name hereSET @DesktopSrc = 'DesktopOneFileModules/ExcelReader/ExcelReader.ascx'          -- You enter actual filename hereSET @MobileSrc = ''SET @AssemblyName = 'Rainbow.DLL'SET @ClassName = 'Rainbow.DesktopModules.OneFileModule'SET @Admin = 0SET @Searchable = 0IF NOT EXISTS (SELECT DesktopSrc FROM rb_GeneralModuleDefinitions WHERE DesktopSrc = @DesktopSrc)BEGIN	-- Installs module	EXEC [rb_AddGeneralModuleDefinitions] @GeneralModDefID, @FriendlyName, @DesktopSrc, @MobileSrc, @AssemblyName, @ClassName, @Admin, @Searchable	-- Install it for default portal	EXEC [rb_UpdateModuleDefinitions] @GeneralModDefID, 0, 1ENDGO

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -