I am a bit of a plodder so sorry if this sounds dumb.

I am trying to get data into a .NET web form datagrid from a vfoxpro 8 table
via the oledb driver. But when I debug I get a error message teling me: "An
invalid datasource is being used for datagrid1. A valid datasource must
implement either IListSource or IEnumerable."

I'm completely stumped, but I suspect the answer is so obvious I will feel a
complete idiot when I know it. Can anyone put me out of my misery?

Thanks in advance for any ideas.

John Wilson

Re: Ilistsource and Ienumberable by John

John
Sun Jul 27 18:26:04 CDT 2003

Post the code, it could be any one of a hundred things you are doing wrong.

John

http://mallsocket.com

"John Wilson" <JW@AdviceNet.com> wrote in message
news:3f23c5c9$0$56605$bed64819@pubnews.gradwell.net...
> I am a bit of a plodder so sorry if this sounds dumb.
>
> I am trying to get data into a .NET web form datagrid from a vfoxpro 8
table
> via the oledb driver. But when I debug I get a error message teling me:
"An
> invalid datasource is being used for datagrid1. A valid datasource must
> implement either IListSource or IEnumerable."
>
> I'm completely stumped, but I suspect the answer is so obvious I will feel
a
> complete idiot when I know it. Can anyone put me out of my misery?
>
> Thanks in advance for any ideas.
>
> John Wilson
>
>
>