|
From: <car...@gm...> - 2006-08-04 08:38:56
|
Hello:
> Hi there,
>
> DataTable dtColumns = conn.GetSchema("Columns", new string[] { null,
> null, TableName });
>
> If the 'TableName' variable contains the name of a table or a view, this works.
> However, if I try with the name of a Stored procedure, the returned
> DataTable is empty.
>
> What is happening?
That Columns schema is for use with Tables and Views only, use
ProcedureParameters schema instead.
--
Carlos Guzmán Álvarez
Vigo-Spain
|