Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,762 members, 7,809,929 topics. Date: Friday, 26 April 2024 at 05:25 PM

Add A Dictionary To A Grid - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Add A Dictionary To A Grid (1035 Views)

How To Add A Direct Download Link To A Blog (help) / How Do I Add A Variable Within Mysqli Query / How Do I Change The Color Of A Grid In Bootstrap (2) (3) (4)

(1) (Reply)

Add A Dictionary To A Grid by cylife: 9:26pm On Jun 04, 2016
how can i add a dictionary to a grid?
Re: Add A Dictionary To A Grid by speedj: 9:29pm On Jun 04, 2016
cylife:
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"wink;
grid.Rows.Add(dataObject1);

(1) (Reply)

Check Out This Forum Now..offer Help And Corrrect Errors Fast... / Help Improve My Knowledge("api") / Coollink Partners With Facebook's Mark Zuckerberg

(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. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.