DataSet dsServerList = GetServerList();
DataView dv = new DataView(dsServerList.Tables[0]);
//dv.RowFilter = "";
// Set the DataSource property of the ComboBox to the DataSet
cbServer.DataSource = dv;
// Set the ValueMember, this is to associate the display data with a unique ID that represents this row in the DataSet
cbServer.ValueMember = "ServerId";
// Set the DisplayMember, this will be what is loaded into the ComboBox and is visible to the user
cbServer.DisplayMember = "ServerPath";
//cbServer.DataBindings.Add("SelectedValue", dv, "ServerId");
-----------------------------------------------------------------------------------
private void cbServer_SelectedIndexChanged(object sender, System.EventArgs e)
{
DataRowView item = (DataRowView)cbServer.SelectedItem;
string strServerID = ((Guid)item["ServerId"]).ToString() ;
ShowFileStaticAll();
}