Click here to Skip to main content
15,914,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralConsuming assembly from GAC [modified] Pin
Malayil alex14-Jan-08 19:58
Malayil alex14-Jan-08 19:58 
GeneralCookie Pin
.NET- India 14-Jan-08 19:47
.NET- India 14-Jan-08 19:47 
GeneralUse .NET to connect to SAP without creating PROXY. Pin
Tee+14-Jan-08 19:36
Tee+14-Jan-08 19:36 
Questiongridview , button problem Pin
Pankaj Garg14-Jan-08 19:25
Pankaj Garg14-Jan-08 19:25 
Questionsqlcommand.ExecuteScalar() fucntion problem Pin
Pankaj Garg14-Jan-08 19:05
Pankaj Garg14-Jan-08 19:05 
GeneralRe: sqlcommand.ExecuteScalar() fucntion problem Pin
pmarfleet14-Jan-08 19:41
pmarfleet14-Jan-08 19:41 
NewsRe: sqlcommand.ExecuteScalar() fucntion problem Pin
Pankaj Garg14-Jan-08 19:55
Pankaj Garg14-Jan-08 19:55 
Questionhow i can solve this date problem when correct data format is is given Pin
jagan12314-Jan-08 18:22
jagan12314-Jan-08 18:22 
Public Function ChangeDateFormat(ByVal tDate2Format As String) As String
ChangeDateFormat = ""
Dim tRetDate As String = ""
Dim datformat As DateTime
Dim dts As String
Try
dts = tDate2Format
Convert.ToDateTime(dts).ToString("MM/dd/yyyy")
If DateTime.TryParse(tDate2Format, datformat) Then
tRetDate = datformat.ToString("dd/MM/yyyy")
Return tRetDate
End If
Return tRetDate
Catch ex As Exception
tRetDate = Nothing
End Try
End Function

using this date function iam able to remove the time when date is in MM/dd/yyyy formate date is passed to this function .but the problem is that some dates are in dd/mm/yyyy with time format then this is not accepting the date and it showing this error
String was not recognized as a valid DateTime: how this probelem solved
AnswerRe: how i can solve this date problem when correct data format is is given Pin
Pankaj Garg14-Jan-08 18:38
Pankaj Garg14-Jan-08 18:38 
GeneralRe: how i can solve this date problem when correct data format is is given Pin
jagan12314-Jan-08 18:52
jagan12314-Jan-08 18:52 
GeneralRe: how i can solve this date problem when correct data format is is given Pin
Pankaj Garg14-Jan-08 19:07
Pankaj Garg14-Jan-08 19:07 
GeneralRe: how i can solve this date problem when correct data format is is given Pin
jagan12314-Jan-08 19:13
jagan12314-Jan-08 19:13 
AnswerRe: how i can solve this date problem when correct data format is is given Pin
Pankaj Garg14-Jan-08 19:29
Pankaj Garg14-Jan-08 19:29 
GeneralSend Email Asp.net C# error Pin
bpark4414-Jan-08 18:08
bpark4414-Jan-08 18:08 
GeneralRe: Send Email Asp.net C# error Pin
Pankaj Garg14-Jan-08 18:21
Pankaj Garg14-Jan-08 18:21 
GeneralRe: Send Email Asp.net C# error Pin
Unknown Ajanabi14-Jan-08 18:35
Unknown Ajanabi14-Jan-08 18:35 
GeneralChange Password Problem in memebership provider Pin
SreejithAchutan14-Jan-08 17:07
SreejithAchutan14-Jan-08 17:07 
GeneralRe: Change Password Problem in memebership provider Pin
SreejithAchutan14-Jan-08 18:42
SreejithAchutan14-Jan-08 18:42 
QuestionCreate a search function that search my site only Pin
VinothRao14-Jan-08 15:47
VinothRao14-Jan-08 15:47 
GeneralRe: Create a search function that search my site only Pin
Pankaj Garg14-Jan-08 17:30
Pankaj Garg14-Jan-08 17:30 
GeneralRe: Create a search function that search my site only Pin
VinothRao14-Jan-08 19:27
VinothRao14-Jan-08 19:27 
GeneralRe: Create a search function that search my site only Pin
Pankaj Garg14-Jan-08 19:45
Pankaj Garg14-Jan-08 19:45 
QuestionObjectDataSource design question Pin
imak14-Jan-08 11:27
imak14-Jan-08 11:27 
GeneralRe: ObjectDataSource design question Pin
pmarfleet14-Jan-08 11:47
pmarfleet14-Jan-08 11:47 
GeneralRe: ObjectDataSource design question Pin
ram197414-Jan-08 15:10
ram197414-Jan-08 15:10 

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.