Filtering Datasets

  • Thread starter Thread starter JJBean
  • Start date Start date
J

JJBean

Hi,

I am trying to use the select method in Dataset that
filters using a string.

sFindEmp = "LastName = 'Jones'";
dsEmployWC.Tables[0].Select(sFindEmp);

This runs without error but when I assign this

tbEmpNum.Text = dsEmployWC.Tables[0].Rows[0]
["Employee#"].ToString();

its not the correct record. What am I doing wrong?

Thanks,

JJBean
 
JJBean said:
its not the correct record. What am I doing wrong?

What was wrong with the answer you received in your last post?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
 

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

Back
Top