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
This page will automatically be redirected to the sign-in page in 10 seconds.