📄 categorymappathcontrol.ascx.vb
字号:
Imports NetShopForge.Library.Product
Partial Class Shop_Product_Controls_CategoryMapPathControl
Inherits System.Web.UI.UserControl
Public CategoryID As Integer
Public ProductID As Integer
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Not IsNothing(ProductID) Then CategoryID = ProductController.GetCategoryIDByProductID(ProductID)
If IsNothing(CategoryID) Or CategoryID = -1 Then Exit Sub
'CategoryMapPath.Text = "<a href=../Default.aspx><strong>HOME</strong></a> :: " & pc.GetCategoryMapPathByProductID(CategoryID)
CategoryMapPath.Text = ":: " & Category.CategoryController.GetCategoryMapPath(CategoryID, False)
End If
End Sub
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -