i was looking into some really well made examples of saving and retrieving blobs from databases like this:
https://www.aspsnippets.com/Articles/Save-and-Retrieve-BLOB-Images-from-MySql-Database-in-ASPNet-C-and-VBNet.aspx
and i was wondering if there was a way to verify the FileName Existence? if so how? i've already tried some ways but i couldn't find a way.
@lopez93
Simply save file name in database and write a SQL Query to check whether it exists
SELECT COUNT(*) FROM Files WHERE FileName=@FileName
If Count is 0 file is not present.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.