protected void lbtnReferenceFile_Click(object sender, EventArgs e)
{
LinkButton lbtn = (LinkButton)sender;
int fileID = 0;
if (int.TryParse(lbtn.CommandArgument, out fileID))
{
DownloadFile(fileID);
}
else
{
throw new ApplicationException("Reference File Not Found: ID=" + fileID.ToString());
}
}