|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Referencing field value in a datasetI'm trying to pull a specific piece of data from a dataset.
In old asp, it would have been something like: rst("fieldname") - rst being the name of my recordset. How can I do this with a dataset? I've tried several things and can't find a way to check the value of a field. Phenon,
Than you first have to tell what piece. A recordset is in no way to compare with a dataset the closest equivalent with a recordset is a datatable. As that holds the same as the recordset only one database table at a time. Cor Hi,
I see now the subject that you want an item value. See it as this ds.Tables(0).datarow(0)("fieldname") Wich is the first fieldname in your first row from your first table in your dataset. Cor |
|||||||||||||||||||||||