Dataset

A

ats@jbex

Hi there. I have a program that I am converting to VB.Net (2005). At
program start a number of "disconnected Recordsets" were created for use
throughtout the program. I have changed these for datasets and they are
populated as were the original VB6 Recordsets. In the VB6 version I could
then use the following:

rs.Filter = "Filter Clause Here"

I could then use the filtered records to e.g. fill a combobox etc and then
use the rs.Filter = "" to remove the filter.

Is there any way of doing this with a dataset in VB.Net 2005? Or will I
have to change the way I retrieve this data?

TIA

--
ats@jbex

But I learned to burn that bridge and delete
Those who compete...at a level that's obsolete
Instead I warm my hands upon the flames of the flag
As I recall our downfall
And the business that burned us all
See through the news and the views that twist reality

Rage Against The Machine - Bombtrack
 
A

ats@jbex

Hi there. I have a program that I am converting to VB.Net (2005). At
program start a number of "disconnected Recordsets" were created for use
throughtout the program. I have changed these for datasets and they are
populated as were the original VB6 Recordsets. In the VB6 version I could
then use the following:

rs.Filter = "Filter Clause Here"

I could then use the filtered records to e.g. fill a combobox etc and then
use the rs.Filter = "" to remove the filter.

Is there any way of doing this with a dataset in VB.Net 2005? Or will I
have to change the way I retrieve this data?

TIA

Ignore this I have done it by using a dataview.

--
ats@jbex

The world is my expense
The cost of my desire
Jesus blessed me with its future
And I protect it with fire

Rage Against The Machine - Sleep Now In The Fire
 
C

Cor Ligthert[MVP]

Ats,

As addition, try not to compare a recordset with a dataset. A recordset is a
kind of disconnected datatable, from which zero or more are located in a
dataset.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sub Main 2
MSgBox in VB.Net 2005 3
File types 4
dataset and where clause 6
Filling a Dataset 9
SqlDataAdapter returning empty rowsets that shouldn't be? 3
Classes in VB.Net 2
Dataset requery 2

Top