SqlCommand command;
SqlDataAdapter adapter = new SqlDataAdapter();
DataSet ds = new DataSet();
dlprobj.getcon();
command = new SqlCommand("Select * from Purchase where Id='" + cbPRNo.SelectedIndex +
"'", dlprobj.con);
adapter.SelectCommand = command;
adapter.Fill(ds);
adapter.Dispose();
command.Dispose();
dlprobj.con.Close();
cbStore.DataSource = ds.Tables[0];
cbStore.ValueMember = "au_id";
cbStore.DisplayMember = "au_lname";