I have a gridview with following fields
LECTURE ID,LECTURER NAME,SUBJECTS and gridview contains link Buttons to Insert,Edit and DELETE.what i
need is, when i click, EDIT SUBJECTS columns should contain DROPDOWN Lists to select subjects.
if the GridView row is not in the EDIT mode or INSERT mode DROPDOWN should not be displayed and display only the subject taught by the lecturer.
This can be accomplished by making the SUBJECT column a TemplateField, as shown below:
You might have already added ButtonField columns to invoke EDIT, INSERT and DELETE functionality.