Hi, I try to bind a gridview to an instance of KeyValueConfigurationCollection as follows:
private void WebHRSnifferForm_Load(object sender, EventArgs e)
private void dataBind104ComSettingGrid()
// QueryStringParams is type of KeyValueConfigurationCollection
Grid104CompSetting.DataSource = webHRConfig.OneZeroFour.Company.QueryStringParams.GetEnumerator();
But it seems the girdview cannot locate the properties exposed by KeyValueConfigurationElement that is contained within KeyValueConfigurationCollection. So no columns are created.
Is there anything I should implement to let gridview bind to KeyValueConfigurationCollection.
Thanks a lot.