hello everyone:
if you want to change to value of the date easy, use
FORMAT(datetime.value,"ddMMyyyy") or the format what u like.
or in the moment when you variable get the value do this:
private ValueOfDate as Datetime
Public Property ValueOfDate() As DateTime
Get
Return _ValueOfDate
End Get
Set(ByVal value As DateTime)
_ ValueOfDate = format(value,"ddMMyyyyy")
End Set
End Property
but remember what type is your field of mysql table?
if is Datetime = the format default is yyyy-MM-dd then you have to format
the value and this is all :).
Manuel Lazo.
Lima - PerĂº.
2012/3/6 Cerebrus <[email protected]>
> Doesn't the MySQL connector handle datetime types automatically ?? Why
> the need to convert it to a (reversed) date string ?
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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
>
--
Manuel Lazo.
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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