Hello one an all,
I am having a requirement regarding my work i am doing. The requirement goes as follows. I am having my data saved in the SQL table as follows.
Id Name filename
----------------------
1 ABC abc.doc
------------------------
2 XYZ xyz.pdf
-------------------------
Like this some other file formats...
What i am doing is i am going to display all these in a grid view as follows.
Id Name Filename
--------------------------------
1 ABC abc.doc Edit
---------------------------------
2 XYZ xyz.pdf Edit
---------------------------------
What i need is when i click on edit i would like to get a file upload control there i will select a new file like some pqr.txt and i would like to replace the old file. For example if i click Edit in the first column then a file upload should appear and there what ever file i uploaded should be saved in place of abc.doc after clciking update and also if i would like to edit the name also i shoul. So can any one give me the code for my requirement...
Thanks In Advance,
M.DOrababu
I am having a requirement regarding my work i am doing. The requirement goes as follows. I am having my data saved in the SQL table as follows.
Id Name filename
----------------------
1 ABC abc.doc
------------------------
2 XYZ xyz.pdf
-------------------------
Like this some other file formats...
What i am doing is i am going to display all these in a grid view as follows.
Id Name Filename
--------------------------------
1 ABC abc.doc Edit
---------------------------------
2 XYZ xyz.pdf Edit
---------------------------------
What i need is when i click on edit i would like to get a file upload control there i will select a new file like some pqr.txt and i would like to replace the old file. For example if i click Edit in the first column then a file upload should appear and there what ever file i uploaded should be saved in place of abc.doc after clciking update and also if i would like to edit the name also i shoul. So can any one give me the code for my requirement...
Thanks In Advance,
M.DOrababu