how to bind datasource to List<Dictionary<string, string>>?
I have a class that stores a list of dictionary entries. I want bind that to a datasource for gridview from codebehind. Code for dictionary type of , representing ErrorMessage and failed field. public partial class FailedFields { private Dictionary<string, string> Code_Error = new Dictionary<string, string>(); public void AddFailedField(string field, string message) { Code_Error.Add(field, message); } public Dictionary<string, string> GetFailedFields() { return Code_Error; } } Code for List of Dictionary entries. public partial class ErrorFieldsList { private static List<Order.FailedFields>