[dba-VB] Moving to .Net, ASP.NET web applications, and the Entity Framework

Shamil Salakhetdinov shamil at smsconsulting.spb.ru
Wed Jan 5 15:47:44 CST 2011


Hi Michael --

[Display(Name = ....]

gives 

CS0592: Attribute 'Display' is not valid on this declaration type. 
It is only valid on 'method, property, indexer, field, param' declarations. 

[DisplayName(....]

works well.

Thank you.

--
Shamil
 
-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Mattys
Sent: 5 ?????? 2011 ?. 22:54
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: Re: [dba-VB] Moving to .Net, ASP.NET web applications,and the
Entity Framework

 
Hi Gustav / All

I made the site, but found that, even after I made sure that I was running
in .Net Framework 4, the Display(Name ...) mechanism doesn't work.
Did you try this?

Michael R Mattys
Business Process Developers
www.mattysconsulting.com


-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Wednesday, January 05, 2011 9:42 AM
To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com
Subject: [dba-VB] Moving to .Net, ASP.NET web applications,and the Entity
Framework

Hi all

A step-by-step intro for everyone, and this may be a bit optimistic but
still:

Build a Data-Driven Enterprise Web Site in 5 Minutes
http://msdn.microsoft.com/da-dk/magazine/gg535665(en-us).aspx

If this should interest you, please subscribe to our dba-VB list.

/gustav






More information about the dba-VB mailing list