'schoolmanagement.Student' does not contain a definition for 'Username' and no extension method 'Username' accepting a first argument of type 'schoolmanagement.Student' could be found (are you missing a using directive or an assembly reference?)
– Fahad RehmanAug 27 '15 at 07:58