Try this code, I think when you are select drop down list your page is redirect, when page is redirect again fill the values in drop down list.
I hope this will be help you.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlbind();
}
}
public void ddlbind()
{
BALBillDetails B = new BALBillDetails();
DataSet ds = B.GetItemNames();
ddlitems.DataSource = ds.Tables[0];
ddlitems.DataTextField = "Item_Name";
ddlitems.DataValueField = "Item_Code";
ddlitems.DataBind();
}