In table in leave type column i have 1)Casual leave 2)Maternal Leave 3)Sick leave
in gridview i bind all the emp name,dept name,emp code etc
in addition to this i need that leave type values as header in gridview with template field as textbox.
so i enter leave balance for the emp in textbox and save it for all employees.
in future if i add another value in leave type column in table then that value should also come in gridview header automatically.
How to do this? Thanks in advance