Re: Filling a DataTable with a DataReader



Hi JT,

I agree with Miha, that using SqlDataAdapter.Fill will be more efficient.
Please check the following link for more information

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vbcode/h
tml/vbtskcodeexamplefillingdatatablewithdata.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

.



Relevant Pages

  • Re: Deleting datacolumns
    ... DataTable.Columns.Remove takes the column name or column reference as ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: DbDataReader.Read() result
    ... which mean EOF. ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: F/T HUO Shadow
    ... Kevin and John...Thanks for posting about the machine. ... Prev by Date: ...
    (rec.games.pinball)
  • Re: ASP.NET 2.0 - Where to discuss??
    ... Since the .NET framework is still under development, ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • RE: WinForm - DataGrid - Enter Key
    ... click on a WinForm DataGrid. ... Kevin Yu ... "This posting is provided "AS IS" with no warranties, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)