admin on November 1st, 2007

Elements way is good at interoperability.
Attributes way is good at size of the XML.

<message>
     <id>1</id>
     <myword>Hello</myword>
</message>

<message id=”1″>
     <myword>Hello</myword>
</message>

<message id=”1″>Hello</message>

<message id=”1″ myword=”Hello” />

Which way do you prefer?

Continue reading about XML Elements or Attributes in the world

admin on November 1st, 2007

(1) Adding the MS Agent COM component in your VS.NET toolbox by clicking Visual Studio menu Tools > Add/remove toolbox items > COM Components. Tick Microsoft Agent Control.
(2) The agent control will now be shown under the ‘components’ tab in the VS toolbox. If it is a windows form application, just drag and drop it [...]

Continue reading about C# Microsoft Agent Control 2.0