Re: DBNull.Value
- From: "W.G. Ryan - MVP" <WilliamRyan@xxxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 09:42:11 -0500
Date is a type in .NET, DBNull.Value is a null value in the db. What to do
is check for something like DateTime.MinValue and then set the db paramater
value to that value if it matches.
"bafidi" <bafidi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E526677F-CAFE-4757-991B-86EE53EA4705@xxxxxxxxxxxxxxxx
>i cant use DBNull.Value
>
> i have a date property
>
> Private m_son_degisiklik_tarihi As Date
> Public Property Son_Degisiklik_Tarihi() As Date
> Get
> Return m_son_degisiklik_tarihi
> End Get
> Set(ByVal Value As Date)
> m_son_degisiklik_tarihi = Value
> End Set
> End Property
>
> i want to put null value to
> Son_Degisiklik_Tarihi=DBNull.Value
> but when i write DBNull.Value there are signs under it and it means that
> it
> doesnt work
>
> how can i put null to Son_Degisiklik_Tarihi?
> is there any way to put null values to date property
>
.
- Prev by Date: files in the .NEt framework package and what they do?
- Next by Date: Re: qbasic to vb.net conversion help. please.
- Previous by thread: files in the .NEt framework package and what they do?
- Next by thread: Re: qbasic to vb.net conversion help. please.
- Index(es):
Relevant Pages
|