i am using the combobox on panel and it got fill when panel loads ,it has 7 enteries and i want whenevr the panel opens or the combo fills i'll see "money "as my default selected value out of those 7(whose position is not fixed).plz help me to do this(urgent)

Recommended Answers

All 2 Replies

int iMoney = cbCombo.indexof("money");
if (iMoney > -1 )
{  cbCombo.SelectedIndex = iMoney; }

thanks for ur contribution jerry ur way is good to do that,but i did it finaly yeterday night using cmb.text = "money" option,but thanx a lot for ur quick reply.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.