2
Answers

How to get multiple textboxes and lables in runtime using arrays with thier values in C#

Photo of nishitha reddy

nishitha reddy

13y
4.3k
1
when we click the button a table values and column names are displayed in textboxes and lables in runtime using array formate. 

Answers (2)

0
Photo of Suthish Nair
NA 31.7k 4.6m 13y
Hope your thread resolved here.. http://www.c-sharpcorner.com/Forums/Thread/127863/how-to-delete-image-according-to-intial-string-of-the-im.aspx
0
Photo of Suthish Nair
NA 31.7k 4.6m 13y
 
 Session.Abandon method destroys all the objects stored in a Session object and releases their  resources. You need write separate logic to delete the physical files.
0
Photo of sagar Bhosale
NA 167 147.2k 13y
sir in this Session.Abandon(); is neccessary for delete images or file
0
Photo of Suthish Nair
NA 31.7k 4.6m 13y

System
.IO.Path.GetTempFileName()
will give you the temp folder with files.

You needs to do
if (File.Exists(sFileNamePath)) { File.Delete(sFileNamePath); }


0
Photo of sagar Bhosale
NA 167 147.2k 13y
Thanks Sir , but i want to do this in global.asax . sir is the above code is correct  anything missing from above code how to delete images from temp folder  when user is logout 
0
Photo of Suthish Nair
NA 31.7k 4.6m 13y

 try this link..
Next Recommended Forum