<asp:FileUpload ID="PhotoUpload1" runat="server" ForeColor="#999999" /><asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage="*jpeg,gif,png" ControlToValidate="PhotoUpload1" ForeColor="Red" ValidationExpression=".*\.([gG][iI][fF]|[jJ][pP][gG]|[jJ][pP][eE][gG]|[bB][mM][pP])$"></asp:RegularExpressionValidator>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)