Im new to web programming. I have made this app for cosmetics online store, just an assignment for my school. I have connected it do my Sql database, and my DB has NvarChar column that defines URL of an image that is located in Project folder. I must put some controls to validate what i have entered. I know how to validate Price and Name of a product, but how can i validate URL of an image that is located in Project folder? Im using RegularExpressionValidator
URL example : ~/slike/goodybrush88254.jpg
May I know what kind of validation you want to do,
here we have two kinds of validations we can do,' 1. Validate the file exists in file system 2. Comparing the entered URL with the URL present in the database
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.