ODBC API

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Arrun S (anonymous_at_discussions.microsoft.com)
Date: 02/05/04


Date: Thu, 5 Feb 2004 08:31:08 -0800

Thanks All.
Roy,
  I tried the DataReader tat you suggested.It works only for SELECT. My application needs to get the type of the parameters(empid=?) without knowing their column name and irrespective of the query (including INSERT..) . In SQLDescribeParam method it is enough to give the cardinal value of the parameter. With the same cardinal value, we can bind(using SQLBindParameter) a value array to the parameter. Is this possible in C#.

Regards,
Arrun S