Get Row value of a DataTable

  • Thread starter Thread starter y
  • Start date Start date
Y

y

Hello,

When a user clicks on a listbox , I want to retrieve the
corresponding value from a dataset.

Since the DataSet's index and the Listbox index does not
match. I cant seem to retrive the correct value.

I have created a dataview that points to the row i am
looking for but I dont know how to get the columns value.

Any ideas?

thanks,

y
 
y,

You can pass the data view to the BindingManagerBase returned from the
BindingContext and it will return to you the current row that is selected in
the listbox.

Hope this helps.
 
Back
Top