>Hi Cetin,
>
>>This is the starter for reading directly into a DataTable. In 2.0 DataTable has a Load method that takes a DataReader (in sample it is using a reader to list records).
>
>sorry, what I was asking for was reading directly into a DATABASE table, not a DataTable. How can this be done?
>
>And BTW, DataTable.Load(DataReader) would take about 100 seconds. ;-)
>
>Markus
You mean SQL server? Then there is SqlBulkCopy class. A .Net programmer could create function/proc etc with CLR directly at the heart of SQLServer.
Cetin