Heiko
Well-known member
I am having problem with this fragment of code:
because my row will not contain the milliseconds value.
All I get is seconds.
(datarow is a row from a table from a strongly typed dataset).
This is generated.
Any ideas how I can convince my dataset to accept milliseconds?
Code:
Public Sub SaveDatabaseValue(ByRef myRow As System.Data.DataRow, ByVal columnName As String) Implements IExtendedControl.SaveDatabaseValue
Dim dt As DateTime
... snip
dt = CType(txtDate.Text & " " & txtTime.Text, DateTime)
If mIsEstimatedValue Then
dt.AddMilliseconds(5000)
End If
myRow(columnName) = dt
End Sub
because my row will not contain the milliseconds value.
All I get is seconds.
(datarow is a row from a table from a strongly typed dataset).
Code:
<xs:element name="PZE_IstDatumUhrzeitVon" codegen:nullValue="9999-01-01T00:00:00" type="xs:dateTime" minOccurs="0" />
This is generated.
Any ideas how I can convince my dataset to accept milliseconds?