please go through some ASP.NET +
ADO.NET code. i will give you general the steps.
Write user function which will retrieve Values from db and return as data table.
DataTable dt = getDataFromDb();
ListBox1.DataSource = datatable;
ListBox1.DataTextField = dt.Columns[0].ToString();
ListBox1.DataValueField = dt.Columns[1].ToString();
ListBox1.DataBind();
use the control event and set the value to db and call again the above four lines.
the same procedure for data-grid and grid-view
or else visit
Data binding a ListView[
^]