Solved

Data types in VB.net do not match up with ones in MSDE

Posted on 2004-08-25
5
176 Views
Last Modified: 2010-04-23
I am trying to match my data type in vb to the data structure I am setting up in MSDE.  I am using ASP.net WebMatrix to create the database in MSDE.  In my vb.net program I Dim my variables to Int16, Boolean, and String.  What should I match them to in MSDE.  All I have to choose from is Int, Number, VarChar, Char, no Boolean exist.

Thanks
Kenny
0
Comment
Question by:kwh3856
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 3

Accepted Solution

by:
DJ_Back-Q earned 500 total points
ID: 11894577
Int16 = Int
Boolean = Bit (this will be either 0 or 1, convert it using ctype)
String = VarChar


Andre,

MCSD
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11894588
Also depending on the version you have, there is also a text field type now, you can use this instead of varchar or nvarchar.
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11894606
Ho and once again, Int16 would also fit in smallint (I always forget about this type)
0
 

Author Comment

by:kwh3856
ID: 11894714
Thanks....I appreciate the quick response.

Kenny
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11894721
Always glad to help
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question