Hi,
Based on the gridview row selected i need to populate some dropdownlist which change values based on selection.. And i am populating these dropdownlists at page load..
When i select a row in gridview i want the dropdownlist to show the values in the gridview row which i have selected.. I am doing it like this:
drpemployee.SelectedItem.Text=row.cell[1].Text;
But it throws null reference exception...What could be the problem?