Hi,
I have two questions
1) In ASP.NET when providing file
upload facility, normaly you have to give
read/write access to the directory. Is
there a way to set this through code?
For example, without setting directory
permissions through file explorer, is it
possible to give permission to IIS anonnymouse
account to access that directory only? May be
using FileIOPermission Attribute?
2) In some code samples, I have seen
they attach the events (say for a button)
on the aspx file itself (using
onclick=Event_Name) and actual code
still is in the code behind file having the
event accessibility set to Public.
But I generaly dont specify onclick=""
but use the event attachment in the
Initialize...() method in page (which is in
the code behind file), in which events have
a Private accessability.
What exactly is the difference?
rgds
KK