### FindBy in Typed Dataset ###

K

Kiran

Hi,

There is FindByColName() function which is used to find a row in a table based on the column value.

for eg.

dsEmployees.tblEmployees.FindByFirstName("Kiran")

Now my typed dataset dsEmployees doesn't contain tblEmployees anymore, It contains a View in it(VewEmployees) and no primary key also.

Now How would I perform a similar function for this so that I can pass a column value and get a data row

Any Help will be appreciated

Thanks
Kiran
 
R

Robert Smith

Hi,

There is FindByColName() function which is used to find a row in a table
based on the column value.

for eg.

dsEmployees.tblEmployees.FindByFirstName("Kiran")

Now my typed dataset dsEmployees doesn't contain tblEmployees anymore, It
contains a View in it(VewEmployees) and no primary key also.

Now How would I perform a similar function for this so that I can pass a
column value and get a data row

Any Help will be appreciated

Thanks
Kiran

--









Hi,

There is FindByColName() function which is used to find a row in a table
based on the column value.

for eg.

dsEmployees.tblEmployees.FindByFirstName("Kiran")

Now my typed dataset dsEmployees doesn't contain tblEmployees anymore, It
contains a View in it(VewEmployees) and no primary key also.

Now How would I perform a similar function for this so that I can pass a
column value and get a data row

Any Help will be appreciated

Thanks
Kiran
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top