aspx thread: DataSet question...
All
I have a question about a DataSet. If I have two columns in my DataSet,
like ID and Name (and Name not being unique), I display the Name column
(because it looks nice, and the ID means nothing to a user) in a listbox.
Now if you select the Name and navigate forward, I save this to the cache
for retrieval on the next page (and place it into a string), but I also want
to send the ID for that name (and probably place it into a string on the
next page too).
Now I can use a DataReader to get all the ID values (in a while loop), but I
am uncertain on how I would go about extracting a single ID from the DataSet
where the ID and Name are in the same record, and thus pass both of them to
the next page.
(Did any of that make sense?)
Thanks for any help.
Al LeMay
Internet Commerce & Communications
Quality Assurance
al.lemay@n...
xxx.xxx.xxxx