Quote:
Originally Posted by boom
how can i add a dictionary to a grid?
|
this is simply done by the use of dapfor.Net Grid. check the code below
//Add a dictionary to a grid
IDictionary<string, object> dataObject1 = new Dictionary<string, object>();
dataObject1.Add("IntValue", 10);
dataObject1.Add("StringValue", "some string 1");
grid.Rows.Add(dataObject1);