if (下拉框.Items.FindByValue(设定的Value值) != null)
{
下拉框.SelectedIndex = 下拉框.Items.IndexOf(下拉框.Items.FindByValue(设定的Value值));
}
if (下拉框.Items.FindByText(设定的Text值) != null)
{
下拉框.SelectedIndex = 下拉框.Items.IndexOf(下拉框.Items.FindByText(设定的Text值));
}