How to use IDictionary?

Posted on 2005-03-02
Medium Priority
Last Modified: 2008-02-01
If I have a DataSet, I use the following code to retrive the value in DataSet:
DataSet dsScore = new ScoreBO().getScore(G, T); //coz getScore has been defined as DataSet
DataView viewScore = dsScore.Tables[0].DefaultView;
itemSetScore = dsScore.Tables[0];  //where itemSetScore is defined as DataTable
what if now the getScore(G,T) has been defined as IDictionary, how can I get the value from IDictionary
like what I do in DataSet?
thank you.
Question by:Cola78
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 11

Accepted Solution

sachiek earned 200 total points
ID: 13446205

Author Comment

ID: 13447445
sorry, i stil can't understand.
any clearer sample ?
LVL 11

Expert Comment

ID: 13447452
Well, IDictionary is inturn a Hashtable.

I guess if you are define with 2 coulms it will be helpful for you, else if more coulms you will have to consider dataset.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question