473,657 Members | 3,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dictionarybase property to bind to

I am binding objects that inherit from DictionaryBase (Sortedlist and
arraylist). I need to access the properties of these DictionaryEntry
objects, but I cannot seem to access them by Key & Value, as I would
expect. Strange, cause when I bind to a grid, the header shows Key and
Value, so I would have thought I could...

Any ideas?

M.I.
Nov 21 '05 #1
1 1188
Masa,

Can you show (only 2 or 3 rows) code where you use it.
You probably needs to cast to DirectoryEntry and with that code it is easier
to show.

Cor
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
623
by: Nick | last post by:
I am writing an application that uses a custom class which inherits DictionaryBase so that I can add items with an associated key. When I try to serialize the object though, I get the following error: The type BuildingsCollection is not supported because it implements IDictionary. Here is my class: Namespace BusinessLogicLayer <Serializable()> _ Public Class BuildingsCollection
4
2947
by: Michael Maercker | last post by:
hi! i'm wondering what the differences are between hashtables und dictionarybases; can both of them store several different types of objects, each accessible by a string key? currently i'm using a class deriving from a dictionarybase, because i thought all objects in a hashtable had to be of the same type; was i wrong? should i switch? thanks, mike
0
1145
by: a | last post by:
Hi, I am using a SoapFormatter to serialize a class which has a member that is derived from DictionaryBase. Everything works fine... I can serialize and deserialize. The trouble I have is that I need to implement versioning, so I have to implement the ISerializable interface and provide the GetObjectData function and the constructor to deserialize the object. When I try to deserialize the member that is derived from DictionaryBase, I...
0
942
by: Ric Pullen | last post by:
I've got some code that i found on the net that helps build a flat file structure. It uses an underlying DictionaryBase class, but unfortunately it seems to have a bug you cannot return the flatfilecolumn based upon the index value, Is it possible to find the key name at an index position? ' return an instance of a single FlatFileColumn object given its 0-based index -
0
874
by: Cordine | last post by:
just as we can bind the text property of a textbox to a column/field of a table, can we do the same for a custom property of a class to a field of a table. To put it simply, i'd like to have a property cName in a class, which i'd like to bind to the Name field/column of a datatable. & when this value changes in the data table, i want the value in the cName property to change & automatically i want some otherthings
3
1433
by: marc | last post by:
I want to create a strongly typed collection and use DictionaryBase I add a number of objects but when i loop through the list the data is ordered in a strange maner. How is this possible? Can anybody tell my why the order gets changed? Thanks Marc '***************** OUTPUT **************************
4
3609
by: Vivek Sharma | last post by:
Hi, Does anyone know a good example that demonstrates the working of CollectionsBase and DictionaryBase in vs 2005? THanks Vivek
1
1373
by: parez | last post by:
Hi all, I want to use DictionaryBase as base class. The search performace matters lot. I have used a hashtable in a similar situation. This class DictionaryBase has a innerhash table so i guess the performace should be the same.
0
1632
by: João Rezende | last post by:
Hello, I have two objects implemented with CollectionBase framework, say MyParent and MyChild. MyChild object is embedded into MyParent and I need to bind some MyChild properties via MyParent. I would like to bind a MyChild property without need to create a property copy into MyParent just to allow access to the MyChild's property because this will duplicate my entire code.
0
8384
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8302
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8718
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8601
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5630
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.