Click here to Skip to main content
15,511,131 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Where did i get asp.net project in linux with mysql database.? Pin
Mycroft Holmes15-Dec-21 14:31
professionalMycroft Holmes15-Dec-21 14:31 
QuestionTwo ReportViewers on the same project Pin
Member 1077312213-Dec-21 2:01
Member 1077312213-Dec-21 2:01 
QuestionRe: Two ReportViewers on the same project Pin
CHill6013-Dec-21 2:09
mveCHill6013-Dec-21 2:09 
QuestionAn unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Alex Dunlop6-Dec-21 8:51
Alex Dunlop6-Dec-21 8:51 
AnswerRe: An unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Richard Deeming6-Dec-21 22:54
mveRichard Deeming6-Dec-21 22:54 
GeneralRe: An unhandled exception occurred while processing the constructor in ASP.NET Core MVC Pin
Alex Dunlop7-Dec-21 8:09
Alex Dunlop7-Dec-21 8:09 
QuestionUse Active Directory for authentication Pin
Joseline Riker2-Dec-21 6:50
Joseline Riker2-Dec-21 6:50 
QuestionIs this data annotation correct for date and time? Pin
Alex Dunlop25-Nov-21 23:26
Alex Dunlop25-Nov-21 23:26 
Hi,
I'm creating models for my ASP.NET Core project. I want to use "Code First" approach to create database and tables. Please check these annotations to be correct:

[Required]
       [DataType(DataType.Date)]
       [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:MM/dd/yyyy}")]
       public DateTime creationDate { get; set; }
       [Required]
       [DataType(DataType.Time)]
       [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:HH:mm:ss}")]
       public DateTime creationTime { get; set; }


And please tell me that what 0 means inside the curly braces.
AnswerRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:02
mveRichard MacCutchan26-Nov-21 1:02 
GeneralRe: Is this data annotation correct for date and time? Pin
Alex Dunlop26-Nov-21 1:28
Alex Dunlop26-Nov-21 1:28 
GeneralRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:39
mveRichard MacCutchan26-Nov-21 1:39 
GeneralRe: Is this data annotation correct for date and time? Pin
Alex Dunlop26-Nov-21 1:45
Alex Dunlop26-Nov-21 1:45 
GeneralRe: Is this data annotation correct for date and time? Pin
Richard MacCutchan26-Nov-21 1:56
mveRichard MacCutchan26-Nov-21 1:56 
AnswerRe: Is this data annotation correct for date and time? Pin
jkirkerx28-Nov-21 10:12
professionaljkirkerx28-Nov-21 10:12 
QuestionCannot establish local connection to SQL SERVER Pin
Alex Dunlop25-Nov-21 0:15
Alex Dunlop25-Nov-21 0:15 
QuestionRe: Cannot establish local connection to SQL SERVER Pin
Richard MacCutchan25-Nov-21 1:37
mveRichard MacCutchan25-Nov-21 1:37 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
Richard Deeming25-Nov-21 2:15
mveRichard Deeming25-Nov-21 2:15 
GeneralRe: Cannot establish local connection to SQL SERVER Pin
Richard MacCutchan25-Nov-21 2:18
mveRichard MacCutchan25-Nov-21 2:18 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
Richard Deeming25-Nov-21 2:19
mveRichard Deeming25-Nov-21 2:19 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
jsc4225-Nov-21 3:56
professionaljsc4225-Nov-21 3:56 
GeneralRe: Cannot establish local connection to SQL SERVER Pin
Richard Deeming25-Nov-21 4:33
mveRichard Deeming25-Nov-21 4:33 
AnswerRe: Cannot establish local connection to SQL SERVER Pin
Alex Dunlop25-Nov-21 10:02
Alex Dunlop25-Nov-21 10:02 
Questioncall a server side Powershell script? Pin
Joseline Riker19-Nov-21 7:44
Joseline Riker19-Nov-21 7:44 
AnswerRe: call a server side Powershell script? Pin
Richard Deeming21-Nov-21 23:52
mveRichard Deeming21-Nov-21 23:52 
GeneralRe: call a server side Powershell script? Pin
Joseline Riker3-Dec-21 8:34
Joseline Riker3-Dec-21 8:34 

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.