In some cases (Editing/Adding) we can bind external data to dropdown edit field columns in Grid by means of code behind.
Using the DataSource property of Grid Column, we can bind external data in the dropdown column of Grid. DataSource for the dropdown column must be given in form of text and value pair or else fields must be enabled to DropDownList.
Refer our below link for our API reference
The result will be as follows.
Figure 1: Fetch data from Code behind for dropdown edit field
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|9262||09/11/2018||09/11/2018||ASP.NET Web Forms||Grid|