You can use a DataReader for a WebForm DataGrid like the following:
dgInfo.DataSource= objCmd.ExecuteReader()
But you can't bind a DataReader to a WinForm DataGrid.
>Is it possible to populate the result of a datareader into a datagrid?
>If possible, HOW?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi