DropDownList with GridView example in C#
The DropDownLists in the GridView rows (below), are created and added dynamically using code behind procedure in C#.
Select a value from the dropdown list and click the update button.
| Product | Stock | Quantity | |
| Samsung | Available | 15 | |
| Micromax | Out of Stock | 0 | Update |
| iPhone | Available | 9 | |
| Oppo | Available | 21 | |
| Sony | Out of Stock | 0 | Update |