您目前尚未登陆,请选择【登陆】或【注册
首页->全站代码->DotNetNuke04.08.03免安装版项目源码>>Library/Controls/ModuleAuditControl.vb>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:DotNetNuke04.08.03免安装版项目源码


当前文件路径:DNN/Library/Controls/ModuleAuditControl.vb 文件类型
普通视图
		            
1' 2' DotNetNuke?- http://www.dotnetnuke.com 3' Copyright (c) 2002-2008 4' by DotNetNuke Corporation 5' 6' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 7' documentation files (the "Software"), to deal in the Software without restriction, including without limitation 8' the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 9' to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10' 11' The above copyright notice and this permission notice shall be included in all copies or substantial portions 12' of the Software. 13' 14' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 15' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 16' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 17' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 18' DEALINGS IN THE SOFTWARE. 19' 20Imports System.IO 21 22Namespace DotNetNuke.UI.UserControls 23 24 Public MustInherit Class ModuleAuditControl 25 Inherits System.Web.UI.UserControl 26 27 Protected lblCreatedBy As System.Web.UI.WebControls.Label 28 29 Private _CreatedDate As String = "" 30 Private _CreatedByUser As String = "" 31 32 Private MyFileName As String = "ModuleAuditControl.ascx" 33 34 35 ' public properties 36 Public WriteOnly Property CreatedDate() As String 37 Set(ByVal Value As String) 38 _CreatedDate = Value 39 End Set 40 End Property 41 42 Public WriteOnly Property CreatedByUser() As String 43 Set(ByVal Value As String) 44 _CreatedByUser = Value 45 End Set 46 End Property 47 48 '******************************************************* 49 ' 50 ' The Page_Load server event handler on this page is used 51 ' to populate the role information for the page 52 ' 53 '******************************************************* 54 55 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 56 Try 57 58 If Not Page.IsPostBack Then 59 60 If IsNumeric(_CreatedByUser) Then 61 ' contains a UserID 62 Dim objUsers As New UserController 63 Dim objUser As UserInfo = UserController.GetUser(PortalController.GetCurrentPortalSettings.PortalId, Integer.Parse(_CreatedByUser), False) 64 If Not objUser Is Nothing Then 65 _CreatedByUser = objUser.DisplayName 66 End If 67 End If 68 69 Dim str As String = Services.Localization.Localization.GetString("UpdatedBy", Services.Localization.Localization.GetResourceFile(Me, MyFileName)) 70 lblCreatedBy.Text = String.Format(str, _CreatedByUser, _CreatedDate) 71 72 End If 73 74 Catch exc As Exception 'Module failed to load 75 ProcessModuleLoadException(Me, exc) 76 End Try 77 End Sub 78 79 End Class 80 81End Namespace 82
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:DotNetNuke04.08.03免安装版项目源码

- 三层用户管理系统

- Asp.net投票系统[单/复选,投..

- 一个不错的Asp.net分页控件源..

- ASP.NET网站广告管理系统

- SqlHelper源码及使用实例

- 51aspx实用聊天室源码(利用A..

- 汽车配件公司网站(VB.net+Ac..

- Asp.net仿baidu知道系统源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号