ODBC is built into the 1.1 version of the Framework. It can be downloaded
and used with version 1.0.
However, this is NOT the ODBC API. As I wrote in my books quite some time
ago, the ODBC API requires "Declare" statements the tie the API entry points
to VB functions and subroutines. There is no publicly available set of
headers for use in .NET languages--not that I've heard of.
What are you trying to do? While you can get at the ODBC drivers, the API
interfaces are tough to get to.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
[quoted text, click to view] "Arrun S" <projdqe@yahoo.co.in> wrote in message
news:EB0A9737-619A-4EDB-9155-5BC054E45931@microsoft.com...
> Hi
> I don't know how to access the ODBC API through C#. The VS.NET provides
OLEDB Data Provider but not ODBC.
> E.g., select * from tbl where id=?
> To get the data type (description) of the column 'id', the ODBC provides
a function 'SQLDescribeParam()'. But, I don't know how to access this
function through C#.Could anyone help me?
[quoted text, click to view] > TIA,
> Arrun S
>