I hope someone can help me:

I have valued pairs, attributes names and values in one hand, and I have an object with attributes. I need to set the values of those attributes. I need something like

For each pairName in ListPairs
  Object.GetAttByName(pairName(name)) = pairName(value)
Next

I wonder if thats possible... or something like it.

Thanks

Can you maybe provide some more information? Please elaborate your point about Valued, Attribute names, and values pair. Showing your code might help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.