How can you give the data to DropDown list as its not yet created,
The DropDownList inside the GridView will be created after the Event RowCreated fires,as RowCreated Event fires after the
Page_Load
event,you cant do this in
Page_Load()
,
You have to do this in
public void GridView1_OnRowDataBound(object sender, GridViewRowEventArgs e)
{}