2
Answers

Handling server control properties

Hi Friends,

I want to know that one thing for a server control, If we need to have same properties like color maxlength, size, and allowed character throughout the application. How do we handle this? Please give an explanation about it?

Answers (2)

0
Photo of pradeep kumar
NA 119 45.1k 12y
I think You will be saving image in the local folder.And file name or type in database.,In that case it's a normal delete.
if you want to delete file from folder

try this
  Name space--Using system.IO

 File.delete(server.Mappath(filename));


http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx

refer the below link..,
0
Photo of Kirti Sharma
NA 5 3.2k 12y
In database.
0
Photo of pradeep kumar
NA 119 45.1k 12y
where do you store the image in local folder or database...,?