after a thorough research , finally I found the stumbling rock. Actually it's very easy, just use the StrReverse() internal function, then the all next coming is Ok
it only needs a few lines of code to solve it, oh, how shame me ;-) Private Function GetSQLRawFormattedDate(ByVal SDate As String) As String Dim tempStr As String = StrReverse(SDate) Dim res As String = Nothing res = tempStr.Replace("/"c, vbNull) Return res End Function -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net