On Wed, 2 Feb 2005 11:32:52 -0500, Hans Merkl wrote:
> On 1 Feb 2005 14:58:52 -0800, NuTcAsE wrote:
>
>> What you need is to get the schema of the table from the database. You
>> can use the FillSchema function on the SqlDataAdapter to fill a
>> datatable with the schema information of the table. From that then you
>> can check the table to see if the desired columns are there... if they
>> are you can issue a query to modify the column.
>>
>> http://msdn.microsoft.com/library/de...chematopic.asp
>
> Thanks a lot. I'll check it out.
>
> Hans
Just in case other people haqve the same problem:
OleDbConnection.GetOleDbSchemaTable retrieves a good amount of info. It's
more than FillSchema provides. Of course you have to use OleDB for this to
work.