Click here to Skip to main content
15,889,760 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondependency between multiple kendo grids Pin
littleGreenDude17-Apr-14 7:44
littleGreenDude17-Apr-14 7:44 
AnswerRe: dependency between multiple kendo grids Pin
littleGreenDude22-Apr-14 8:55
littleGreenDude22-Apr-14 8:55 
QuestionAny idea on Breadcrumbs? Pin
Suraj Sahoo | Coding Passion17-Apr-14 2:20
professionalSuraj Sahoo | Coding Passion17-Apr-14 2:20 
AnswerRe: Any idea on Breadcrumbs? Pin
Wombaticus17-Apr-14 3:07
Wombaticus17-Apr-14 3:07 
GeneralRe: Any idea on Breadcrumbs? Pin
Suraj Sahoo | Coding Passion17-Apr-14 3:12
professionalSuraj Sahoo | Coding Passion17-Apr-14 3:12 
GeneralRe: Any idea on Breadcrumbs? Pin
Wombaticus17-Apr-14 6:25
Wombaticus17-Apr-14 6:25 
GeneralRe: Any idea on Breadcrumbs? Pin
Suraj Sahoo | Coding Passion17-Apr-14 6:48
professionalSuraj Sahoo | Coding Passion17-Apr-14 6:48 
Questionnullable dateTime linq query issue Pin
miss78616-Apr-14 1:28
miss78616-Apr-14 1:28 
Hi all,

I am trying to run a query which can allow to output 'UploadDate' value only. This is what I currently have and i keep getting a -- Cannot implicitly convert type 'System.DateTime?' to 'API_09.database_BD'-- error, on the following code:
C#
public database_BD GetDate()
    {
        var data = db.database_BD.Select(d => d.UploadDate)
                     .OrderByDescending(c => c)
                     .FirstOrDefault();

        return data; // error line.
    }


Database_BD Entity framework class:

C#
public partial class database_BD
 {
    public Nullable<System.DateTime> UploadDate { get; set; }
    public string uUsername { get; set; }
 }


any suggestions and help would be most welcome.
AnswerRe: nullable dateTime linq query issue Pin
Suraj Sahoo | Coding Passion16-Apr-14 2:47
professionalSuraj Sahoo | Coding Passion16-Apr-14 2:47 
AnswerRe: nullable dateTime linq query issue Pin
Richard Deeming16-Apr-14 3:06
mveRichard Deeming16-Apr-14 3:06 
GeneralRe: nullable dateTime linq query issue Pin
miss78616-Apr-14 3:20
miss78616-Apr-14 3:20 
GeneralRe: nullable dateTime linq query issue Pin
Richard Deeming16-Apr-14 3:24
mveRichard Deeming16-Apr-14 3:24 
QuestionNew to ASP.NET need help Pin
Hari-CodeBlogger15-Apr-14 20:13
Hari-CodeBlogger15-Apr-14 20:13 
AnswerRe: New to ASP.NET need help Pin
Tom Marvolo Riddle15-Apr-14 21:11
professionalTom Marvolo Riddle15-Apr-14 21:11 
AnswerRe: New to ASP.NET need help Pin
Schatak15-Apr-14 21:12
professionalSchatak15-Apr-14 21:12 
GeneralRe: New to ASP.NET need help Pin
Hari-CodeBlogger15-Apr-14 22:26
Hari-CodeBlogger15-Apr-14 22:26 
AnswerRe: New to ASP.NET need help Pin
thatraja16-Apr-14 3:00
professionalthatraja16-Apr-14 3:00 
AnswerRe: New to ASP.NET need help Pin
Suraj Sahoo | Coding Passion16-Apr-14 2:49
professionalSuraj Sahoo | Coding Passion16-Apr-14 2:49 
GeneralRe: New to ASP.NET need help Pin
Hari-CodeBlogger16-Apr-14 6:12
Hari-CodeBlogger16-Apr-14 6:12 
GeneralRe: New to ASP.NET need help Pin
Suraj Sahoo | Coding Passion16-Apr-14 7:08
professionalSuraj Sahoo | Coding Passion16-Apr-14 7:08 
GeneralRe: New to ASP.NET need help Pin
Hari-CodeBlogger16-Apr-14 19:17
Hari-CodeBlogger16-Apr-14 19:17 
GeneralRe: New to ASP.NET need help Pin
Suraj Sahoo | Coding Passion16-Apr-14 19:53
professionalSuraj Sahoo | Coding Passion16-Apr-14 19:53 
GeneralRe: New to ASP.NET need help Pin
Hari-CodeBlogger16-Apr-14 22:54
Hari-CodeBlogger16-Apr-14 22:54 
GeneralRe: New to ASP.NET need help Pin
Chris Quinn16-Apr-14 23:02
Chris Quinn16-Apr-14 23:02 
GeneralRe: New to ASP.NET need help Pin
Hari-CodeBlogger16-Apr-14 23:56
Hari-CodeBlogger16-Apr-14 23:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.