Revathi Parvathi

Revathi Parvathi

  • NA
  • 323
  • 64.2k

How to add path dynamically in asp.net?

Nov 28 2017 4:02 AM
Hi,
 
I want to use the file path dynamically from other page using vb.net.i stored file path in one variable.how to pass that variable to below mentioned home folder path.
 
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Frm_Notfication.aspx.vb" Inherits="Frm_Notfication" %>
<%@ Register Src="~/UserControls/FileGridVB.ascx" TagPrefix="uc1" TagName="FileGridVB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<uc1:FileGridVB ID="FileGridVB1" HomeFolder="~/uplaodfiles/Chennai/Sports/28112017" runat="server" PageSize="25" />
</asp:Content>

Answers (2)