Click here to Skip to main content
15,917,862 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Merge 2 cell in Open XML Pin
Anurag Gandhi24-Apr-14 5:25
professionalAnurag Gandhi24-Apr-14 5:25 
GeneralTab Control in ASP.NET without using Ajax Pin
Syed Rehman21-Apr-14 20:06
Syed Rehman21-Apr-14 20:06 
GeneralRe: Tab Control in ASP.NET without using Ajax Pin
Blikkies21-Apr-14 21:44
professionalBlikkies21-Apr-14 21:44 
GeneralRe: Tab Control in ASP.NET without using Ajax Pin
Syed Rehman22-Apr-14 3:09
Syed Rehman22-Apr-14 3:09 
GeneralRe: Tab Control in ASP.NET without using Ajax Pin
Blikkies22-Apr-14 3:30
professionalBlikkies22-Apr-14 3:30 
AnswerRe: Tab Control in ASP.NET without using Ajax Pin
R@Vi_Mali24-Apr-14 7:00
professionalR@Vi_Mali24-Apr-14 7:00 
GeneralRe: Tab Control in ASP.NET without using Ajax Pin
Syed Rehman5-May-14 18:54
Syed Rehman5-May-14 18:54 
Questionproblem in ajax reorder list Pin
yogika21-Apr-14 20:05
yogika21-Apr-14 20:05 
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 

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.