Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,638 members, 7,809,398 topics. Date: Friday, 26 April 2024 at 08:52 AM

Bind A Collection Of Dictionaries To A Grid - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Bind A Collection Of Dictionaries To A Grid (936 Views)

*****large Collection Of Programming Ebooks***** / Add A Dictionary To A Grid / How Do I Change The Color Of A Grid In Bootstrap (2) (3) (4)

(1) (Reply)

Bind A Collection Of Dictionaries To A Grid by omosis2: 1:45am On Jun 05, 2016
how can i bind a collection of dictionaries to a grid?
Re: Bind A Collection Of Dictionaries To A Grid by Lifeguru02: 1:49am On Jun 05, 2016
omosis2:
how can i bind a collection of dictionaries to a grid?

i use dapfor.netgrid, check the codes below
//Bind a collection of dictionaries to a grid
answer List<object> collection = new List<object>();
collection.Add(new object[] { 10, 11.12, "some string 1" });
collection.Add(new object[] { 20, 21.33, "some string 2" });
grid.DataSource = collection;

1 Like

(1) (Reply)

Java Online Practice Test Zone For Coding Buddies. / Learn Programming And The Business Of Software Development At Ease / Pruralcode's Codecup For Beginners!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.