Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to create Contact form with C# in ASP.NET Pin
Arun Jacob19-May-10 23:31
Arun Jacob19-May-10 23:31 
Questiondecimal question Pin
Jassim Rahma19-May-10 23:14
Jassim Rahma19-May-10 23:14 
AnswerRe: decimal question Pin
OriginalGriff20-May-10 1:17
mveOriginalGriff20-May-10 1:17 
AnswerRe: decimal question Pin
Heinzzy20-May-10 1:59
Heinzzy20-May-10 1:59 
AnswerRe: decimal question Pin
Luc Pattyn20-May-10 2:51
sitebuilderLuc Pattyn20-May-10 2:51 
QuestionPrint certificate Pin
Jassim Rahma19-May-10 23:07
Jassim Rahma19-May-10 23:07 
AnswerRe: Print certificate Pin
OriginalGriff20-May-10 0:15
mveOriginalGriff20-May-10 0:15 
QuestionChange SQL Server dateformat? Pin
Dotnetkanna19-May-10 22:44
Dotnetkanna19-May-10 22:44 
Hi,
By default sql server will accept date format of mdy.is it possible to change the format to dmy.


SET DATEFORMAT dmy
GO
INSERT tDateOrder (d) VALUES ('31/1/04')
GO
INSERT tDateOrder (d) VALUES ('2/28/04')

by executing the above statement im getting the below error.

(1 row(s) affected)
Msg 242, Level 16, State 3, Line 1
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
The statement has been terminated.


is it possible to change the database format as dmy permanently? and also it should change only for this particular database.


Regards
Kanna
AnswerRe: Change SQL Server dateformat? Pin
Hristo-Bojilov19-May-10 22:55
Hristo-Bojilov19-May-10 22:55 
AnswerRe: Change SQL Server dateformat? Pin
T M Gray20-May-10 11:44
T M Gray20-May-10 11:44 
QuestionCreating Tables in Run time using c# Pin
Raghu_M19-May-10 22:33
Raghu_M19-May-10 22:33 
AnswerRe: Creating Tables in Run time using c# Pin
Pete O'Hanlon19-May-10 23:25
mvePete O'Hanlon19-May-10 23:25 
Questionhow to check operating system in c#..? Pin
NetMan201219-May-10 22:07
NetMan201219-May-10 22:07 
AnswerRe: how to check operating system in c#..? Pin
The Man from U.N.C.L.E.19-May-10 22:18
The Man from U.N.C.L.E.19-May-10 22:18 
AnswerRe: how to check operating system in c#..? Pin
Pete O'Hanlon19-May-10 22:30
mvePete O'Hanlon19-May-10 22:30 
AnswerRe: how to check operating system in c#..? Pin
Johnny J.19-May-10 22:33
professionalJohnny J.19-May-10 22:33 
AnswerRe: how to check operating system in c#..? Pin
Dave Kreskowiak20-May-10 1:29
mveDave Kreskowiak20-May-10 1:29 
AnswerRe: how to check operating system in c#..? Pin
Luc Pattyn20-May-10 3:00
sitebuilderLuc Pattyn20-May-10 3:00 
GeneralRe: how to check operating system in c#..? Pin
Pete O'Hanlon20-May-10 3:36
mvePete O'Hanlon20-May-10 3:36 
GeneralRe: how to check operating system in c#..? Pin
Luc Pattyn20-May-10 3:55
sitebuilderLuc Pattyn20-May-10 3:55 
GeneralRe: how to check operating system in c#..? Pin
Pete O'Hanlon20-May-10 3:59
mvePete O'Hanlon20-May-10 3:59 
GeneralRe: how to check operating system in c#..? Pin
Dave Kreskowiak20-May-10 6:35
mveDave Kreskowiak20-May-10 6:35 
GeneralRe: how to check operating system in c#..? Pin
Johnny J.20-May-10 21:01
professionalJohnny J.20-May-10 21:01 
GeneralRe: how to check operating system in c#..? Pin
Dave Kreskowiak21-May-10 1:45
mveDave Kreskowiak21-May-10 1:45 
AnswerRe: how to check operating system in c#..? Pin
canangirgin20-May-10 4:41
canangirgin20-May-10 4:41 

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.