
Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
On Oct 26, 2:55 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> If you only want selected values, then you will have to adjust the text
> in your OleDbCommand to filter out the values you don't want to see.
Thank you for the reply.
But I am not able to understand ur suggestion.
Do you mean using (OleDbCommand cmd = new OleDbCommand("SELECT Col1,
Col2 into dt FROM Test.csv" , conn))
or something else?
-Thanks.
Nicholas Paldino [.NET/C# MVP] - 26 Oct 2007 15:35 GMT
Yes, that's pretty much it. You will have to put a filter on it if you
want to filter out rows (a where clause) in the results.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> On Oct 26, 2:55 am, "Nicholas Paldino [.NET/C# MVP]"
> <m...@spam.guard.caspershouse.com> wrote:
[quoted text clipped - 10 lines]
>
> -Thanks.
HinduNationalist@gmail.com - 26 Oct 2007 18:04 GMT
On Oct 26, 7:35 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.com> wrote:
> Yes, that's pretty much it. You will have to put a filter on it if you
> want to filter out rows (a where clause) in the results.
Thanks for reply.
I had already tried it. In OleDb it doesn't work.
Nicholas Paldino [.NET/C# MVP] - 26 Oct 2007 19:52 GMT
If it doesn't work, then you can load the entire contents into a
DataTable, and then create a DataView and place a filter on the items in the
DataTable through the view.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> On Oct 26, 7:35 pm, "Nicholas Paldino [.NET/C# MVP]"
> <m...@spam.guard.caspershouse.com> wrote:
[quoted text clipped - 4 lines]
> Thanks for reply.
> I had already tried it. In OleDb it doesn't work.