what is a tinyint in C#?

Complete

OSNN Addict
Joined
25 Aug 2005
Messages
94
what is a tinyint in C#?
SQL has its own datatypes. But a small int in SQL translates to an Int16 in C#. But there is no such thing as Int8 in C#. So what is a tiny int in C#?
 

seo-marketing

OSNN Newbie
Joined
4 Jul 2009
Messages
5
A TINYINT is an 8-bit integer value, a BIT field can store between 1 bit, BIT(1), and 64 bits, BIT(64). For a boolean values, BIT(1) is pretty common
 
S

stevejustine

Guest
The .NET Framework type System.Int16 is a short in C#. If you just need 8 bits, you can use byte (System.Byte).


Thanks.
Web Design
 

bestactor

OSNN One Post Wonder
Joined
29 Oct 2013
Messages
1
I am a beginner in c and c++ and I find it pretty difficult as it mainly contains maths, and maths related counts. Is there any easy way to grasp the C. I am struggling too much here to cover this topics.





_____________________________________
Cure for Snoring
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,593
Latest member
moussa021