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
Robert Smith - 16 Jul 2005 16:52 GMT
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