In this Load function have some hotel names,I wanted to bind that hotel names to Combo box. I go several steps but i'm having a problem in bind values to combo box from here.
private void myWindow_Load(object sender, EventArgs e)
{
string new1 = f.Name; //hotel names comes here(eg:hilton,serandib)
List<string> Hotels = new1 List<string>();
Hotels.Add(new1);
foreach (string Hotel in Hotels)
{
}
}
Actually i want this hotel names show in combo box.(This is a windows form),Help me with the rest.