iamxvijay

iamxvijay

  • NA
  • 11
  • 0

Problem with scripting.dictionary class

Aug 11 2006 4:59 AM

hi all

i'm migrating a web app to asp.net/c# which is developded in asp/vb combination.

In this code a builtin class returning scripting.dictionary object.

it contains a key and a value. they are writing this key and value pare in the page.
asp/vb code
Set objProps = objPage.getAllProperties()
aKeys = objProps.Keys()

For i=0 to objProps.Count-1
 Response.Write "objProps.Item(aKeys(i)"
 Response.Write "aKeys(i)"
next

but in C# im unable to find the keys() methord for objProps;

how can i get key and value from the dictnory object in C#.

please help me.

Thanks and Regards
Vijay