阅读背景:

使用Winform,从sql server中删除一条记录,并检查文件是否存在

来源:互联网 

I have a 'delete' form for my program where a user can input a record key and it'll delete the entire record. The record key is my primary key. Located in my database is a field called 'resumelink.' The resume link just has the name of a file plus an extension, example 'Doc100.pdf.' When I enter in a record key into my delete form, I want it to check first to see if there exists a file like what's in the resumelink field. And if there is, it will delete it. If not, it'll just continue to remove the record in it's entirety. I have a 'delete' form for my program where a u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: