?
Solved

How to use IDictionary?

Posted on 2005-03-02
4
Medium Priority
?
524 Views
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.
0
Comment
Question by:Cola78
[X]
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
4 Comments
 
LVL 11

Accepted Solution

by:
sachiek earned 200 total points
ID: 13446205
0
 

Author Comment

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

Expert Comment

by:sachiek
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.


Sachi
0

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