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
>