﻿
Partial Class Admin_AddForProduct
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Session("AdminID") Is Nothing Then
            Response.Redirect("AdminLogin.aspx?sesn=expire")
            Exit Sub
        End If

        If Not IsPostBack Then
            Try
                btnAddNew.Attributes.Add("onclick", "return AddNewProduct();")
            Catch ex As Exception

            End Try
        End If
    End Sub
End Class
