.NETGURU
oledb.type for parameter?
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-oledb' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Chuck Peper (VIP)
I am using parameters for Access and Oracle.

When creating a parameter you need to specify the oledb.type
for example, OleDbType.VarChar
New OleDbParameter(name, OleDbType.VarChar, length)

Is there a list or easy way to relate the Access and Oracle data types to
the oledb.type? I just guess now.

Reply to this message...
 
    
Dan Wahlin
Do you mean something like the table found at the following MSDN link?

ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemDataOleDbOleDbTypeClas
sTopic.htm

Probably not exactly what you're looking for but it should help some
hopefully.

Dan Wahlin

Microsoft MVP - ASP.NET
http://www.XMLforASP.Net: #1 ASP.NET/XML Resource
XML for ASP.NET Developers by Dan Wahlin in bookstores everywhere!

-----Original Message-----
From: Chuck Peper [mailto:Click here to reveal e-mail address]
Sent: Tuesday, January 22, 2002 11:30 AM
To: ngfx-oledb
Subject: [ngfx-oledb] oledb.type for parameter?

I am using parameters for Access and Oracle.

When creating a parameter you need to specify the oledb.type
for example, OleDbType.VarChar
New OleDbParameter(name, OleDbType.VarChar, length)

Is there a list or easy way to relate the Access and Oracle data types
to
the oledb.type? I just guess now.

| [ngfx-oledb] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/ngfx-oledb.asp = JOIN/QUIT

Reply to this message...
 
    
Chuck Peper (VIP)
I had already seen that, it's of no use without knowing how the oledb
provider describes their data types.

Do you think there is a way to reverse engineer what the provider
uses? Maybe using the oledbcommandbuilder?

Reply to this message...
 
 
System.Data.OleDb.OleDbParameter
System.Data.OleDb.OleDbType




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification