H
Hetal
Hi there..
I am a VB6 developer so kinda trying to figure how to work with
VB.NET. I have a scenario where i have a DataSet bound to a combo box,
and i would like to read a row from the DataSet based on the item
selected in the Combo Box.
For e.g.
I have a dataset that has 1 table containing 3 fields say ID, Name,
and Address.
This dataset is bound to a Combo Box with ID as a ValueMember and Name
as a DisplayMember.
The Combo Box fills up perfectly with the Name field.
The problem i am facing is, when i select a Name from the Combo Box, i
would like to read the Address for that Name from the DataSet.
I did find a few samples but they would go through the loop to read
rows in a DataSet, but i could not find a sample where i can read a
row from a DataSet for a selected value.
Any help on this one will be much appreciated. Thanks.
Hetal.
I am a VB6 developer so kinda trying to figure how to work with
VB.NET. I have a scenario where i have a DataSet bound to a combo box,
and i would like to read a row from the DataSet based on the item
selected in the Combo Box.
For e.g.
I have a dataset that has 1 table containing 3 fields say ID, Name,
and Address.
This dataset is bound to a Combo Box with ID as a ValueMember and Name
as a DisplayMember.
The Combo Box fills up perfectly with the Name field.
The problem i am facing is, when i select a Name from the Combo Box, i
would like to read the Address for that Name from the DataSet.
I did find a few samples but they would go through the loop to read
rows in a DataSet, but i could not find a sample where i can read a
row from a DataSet for a selected value.
Any help on this one will be much appreciated. Thanks.
Hetal.