Bind combo and set displayed value

I am filling a combobox by binding to a dataset, this works fine.  I am then using a "currentrow" variable which is passed from a previous page to create a new dataset and set the row within it.  I want to set the current value in the combobox (which has already been populated) to a field in the second dataset.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:

2) How are you passing the value?

3) How are you binding the ComboBox?

Dan-MartinAuthor Commented:
1) just a regular windows form
2) i'm passing the current row in a global variable
3) comboMan.DataSource = dv2 (dataview)
     comboMan.DisplayMember = "Man"
Bob LearnedCommented:
Guess #1 (example):

   comboMan.SelectedIndex = comboMan.FindString("Value")


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Dan-MartinAuthor Commented:
how do i get the value into the "value" variable out of the dataset?
Bob LearnedCommented:
>>i'm passing the current row in a global variable
comboMan.SelectedIndex = comboMan.FindString(row("Column1").ToString())

Dan-MartinAuthor Commented:
Don't i have to refer to the dataset in there somewhere?  the variable CurrRow that is being passed is only giving me the current row in the dataset.
Dan-MartinAuthor Commented:
Here is how I ended up doing it.  Part of this came from your posts so I'm giving you the points

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.