if (fi.Extension == ".txt") { Image2.Src = @"~\Upload\x_icon.png"; LinkButton1.Text = fi.Name; LinkButton1.Visible = true; } else if (fi.Extension == ".docx") { Image2.Src = @"~\Upload\Add.jpg"; LinkButton1.Text = fi.Name; LinkButton1.Visible = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)