Bind Data dynamically to a DropDownList in GridView
The GridView is populated with data extracted from a table in SQL Server database. When you click Edit, it will insert (or add) a DropDownlist control to the last column of the row. The dropdown is attached with another SQL Server table.
| Employee ID | Employee Name | Qualification |
Edit |
1
|
CHIN YEN
|
GRADUATE
|
Edit |
2
|
MIKE PEARL
|
GRADUATE
|
Edit |
3
|
GREEN FIELD
|
ADVANCE PHYSICS
|
Edit |
4
|
DEWANE PAUL
|
ACCOUNTS
|
Edit |
5
|
MATTS
|
ADVANCE PHYSICS
|
Edit |
6
|
PLANK OTO
|
DIPLOMA IN FINANCE
|