That's the deal? I thought about that. Actually, I was putting all
properties in my classes until I decided it was WAAAAAAAAAAAAY too much
typing and just seemed unnecessary.
Yup, that's it! Nice. Cool feature.
Thanks.

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
> The message is correct: your class doesn't have any properties - it has
> public fields, which isn't a good thing. Try replacing your fields with
[quoted text clipped - 54 lines]
>> properties or attributes from which to generate columns. Ensure that
>> your data source has content."
Milosz Skalecki [MCAD] - 20 Jan 2008 20:10 GMT
Howdy,
You don't need to type property declaration yourself. VS >= 2005 supports
refactoring and includes very useful commands to make your life easier:
Three ways to quickly implement a property:
1. Press Ctrl+K,X or go to main menu Edit->Intelli Sense->Insert Snippet
select "prop" or Visual C#\prop from drop down list, and change property's
type and name.
2. in the code type
private [AnyType] fieldName;
(Ctrl+R,E) or right click -> Refactor ->Encapsulate Field.
3. Create class diagram, and design your classes through a GUI.
Hope this helps

Signature
Milosz
> That's the deal? I thought about that. Actually, I was putting all
> properties in my classes until I decided it was WAAAAAAAAAAAAY too much
[quoted text clipped - 62 lines]
> >> properties or attributes from which to generate columns. Ensure that
> >> your data source has content."
Jonathan Wood - 09 Feb 2008 04:30 GMT
Sorry for the slow delay but the Encapsulate Field command looks like the
one I was trying to find.
Thanks!

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
> Howdy,
>
[quoted text clipped - 82 lines]
>> >> properties or attributes from which to generate columns. Ensure that
>> >> your data source has content."