Click here to Skip to main content
15,890,670 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL Server Express and Visual C# Pin
Niladri_Biswas28-Jun-09 16:53
Niladri_Biswas28-Jun-09 16:53 
QuestionConversion failed when converting datetime from character string Pin
piticcotoc27-Jun-09 21:13
piticcotoc27-Jun-09 21:13 
AnswerRe: Conversion failed when converting datetime from character string [modified] Pin
Niladri_Biswas27-Jun-09 21:32
Niladri_Biswas27-Jun-09 21:32 
GeneralRe: Conversion failed when converting datetime from character string Pin
piticcotoc27-Jun-09 21:39
piticcotoc27-Jun-09 21:39 
GeneralRe: Conversion failed when converting datetime from character string Pin
Niladri_Biswas27-Jun-09 21:59
Niladri_Biswas27-Jun-09 21:59 
GeneralRe: Conversion failed when converting datetime from character string Pin
piticcotoc28-Jun-09 0:27
piticcotoc28-Jun-09 0:27 
GeneralRe: Conversion failed when converting datetime from character string Pin
piticcotoc28-Jun-09 0:31
piticcotoc28-Jun-09 0:31 
GeneralRe: Conversion failed when converting datetime from character string [modified] Pin
Niladri_Biswas28-Jun-09 16:00
Niladri_Biswas28-Jun-09 16:00 
Hi,

Last day there was some problem in the afternoon in posting the message. So I was unable to reply you though I tried many times. However, I emailed you the solution.

Try with the solution which I gave . That's a running application.
N.B.~ The default DateTime format in my system is "mm/dd/yyyy hh:mm:ss"

By the way if you need to convert the date format e.g. dd.mm.yyyy to

mm/dd/yyyy hh:mm:ss, use the
DateTime.ParseExact() Method
.

e.g. I want to convert from 28.06.2009 i.e. dd.mm.yyyy to 

mm/dd/yyyy hh:mm:ss

string OldDateFromat = "28.06.2009";//dd.mm.yyyy
DateTime dt = DateTime.ParseExact(OldDateFromat, "dd'.'MM'.'yyyy",
                                  CultureInfo.InvariantCulture);

Hope this helps you.

Let me know in case of any concern
Smile | :)

Niladri Biswas

modified on Sunday, June 28, 2009 11:25 PM

GeneralRe: Conversion failed when converting datetime from character string Pin
Luc Pattyn28-Jun-09 16:14
sitebuilderLuc Pattyn28-Jun-09 16:14 
GeneralRe: Conversion failed when converting datetime from character string Pin
Niladri_Biswas28-Jun-09 16:55
Niladri_Biswas28-Jun-09 16:55 
GeneralRe: Conversion failed when converting datetime from character string Pin
piticcotoc28-Jun-09 19:33
piticcotoc28-Jun-09 19:33 
QuestionConnecting to SQL 2000 Server from the Internet using public IP Address Pin
Thayhor27-Jun-09 15:22
Thayhor27-Jun-09 15:22 
AnswerRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Niladri_Biswas27-Jun-09 16:24
Niladri_Biswas27-Jun-09 16:24 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Thayhor27-Jun-09 20:41
Thayhor27-Jun-09 20:41 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address [modified] Pin
Thayhor27-Jun-09 20:58
Thayhor27-Jun-09 20:58 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Jerry Hammond28-Jun-09 17:15
Jerry Hammond28-Jun-09 17:15 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Niladri_Biswas28-Jun-09 17:39
Niladri_Biswas28-Jun-09 17:39 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Sujay chakraborty28-Jun-09 16:36
Sujay chakraborty28-Jun-09 16:36 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Niladri_Biswas28-Jun-09 17:47
Niladri_Biswas28-Jun-09 17:47 
GeneralRe: Connecting to SQL 2000 Server from the Internet using public IP Address Pin
Sujay chakraborty28-Jun-09 18:16
Sujay chakraborty28-Jun-09 18:16 
QuestionSQL Issue during database creation Pin
Bahram.Zarrin27-Jun-09 5:42
Bahram.Zarrin27-Jun-09 5:42 
AnswerRe: SQL Issue during database creation Pin
Luc Pattyn27-Jun-09 6:09
sitebuilderLuc Pattyn27-Jun-09 6:09 
AnswerRe: SQL Issue during database creation Pin
Jerry Hammond28-Jun-09 17:19
Jerry Hammond28-Jun-09 17:19 
QuestionWhere the SSIS package saved in SQL2005 Pin
Aman786Singh27-Jun-09 3:39
Aman786Singh27-Jun-09 3:39 
AnswerRe: Where the SSIS package saved in SQL2005 Pin
Niladri_Biswas27-Jun-09 17:13
Niladri_Biswas27-Jun-09 17:13 

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.