PC Review


Reply
Thread Tools Rate Thread

DBType and PPC

 
 
=?Utf-8?B?S2FybC1JbmdlIFJla25lcw==?=
Guest
Posts: n/a
 
      26th May 2005
I want to assign null value to an integer and I try this code, but it doesn't
work. Can anybody help me?

System.Data.SqlTypes.SqlInt16 n1;
n1 = System.Data.SqlTypes.SqlInt16.Null;

Karl-Inge

 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      26th May 2005
You probably need to add a reference to System.Data.Comon.dll.

If this won't solve your problem, please provide a detailed description of
how exactly it "does not work".


Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Karl-Inge Reknes" <(E-Mail Removed)> wrote in
message news:CB0AB82B-EFD4-4B59-A4B3-(E-Mail Removed)...
>I want to assign null value to an integer and I try this code, but it
>doesn't
> work. Can anybody help me?
>
> System.Data.SqlTypes.SqlInt16 n1;
> n1 = System.Data.SqlTypes.SqlInt16.Null;
>
> Karl-Inge
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter with DbType Vik Microsoft ASP .NET 2 8th Jul 2009 10:08 PM
DbType Peter Kirk Microsoft C# .NET 2 25th Oct 2005 04:42 PM
DbType vs SqlDbType Bud J via DotNetMonster.com Microsoft Dot NET Framework Forms 0 17th Jul 2005 05:50 AM
DbType for RefCursor H. Mahadevan Microsoft ADO .NET 3 2nd Jan 2004 01:11 PM
DbType To SqlDbType Jim Heavey Microsoft ADO .NET 2 17th Dec 2003 04:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:05 AM.