I need to write text file from textbox on button's click event
after writing it I need to open same file
does not need to save that file while writing.
can anyone please give sample code?
EDIT
Actually you take me wrong ,I need to create temporary file , not in already existed file.. need to create , write and at same time it will be open to read.. is it possible ?