protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string path = "Presentations/";
string fileName = "";
binduserdata(Convert.ToString(Session[FbConstUtil.USER_ID]), CurrentPageIndex);
if (Directory.Exists(Server.MapPath(path)))
{
if (System.IO.Directory.Exists(Server.MapPath("Presentations")))
{
}
}
}
}
public void Open_File(string extension, string fileName)
{
switch (extension)
{
case ".pptx":
Response.ContentType = "Application/powerpoint";
Response.AppendHeader("Content-Disposition", "attachment; filename='" + fileName);
Response.TransmitFile(Server.MapPath(fileName));
Response.End();
b