protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { DataSet1TableAdapters.tblKullanicilarTableAdapter dt = new DataSet1TableAdapters.tblKullanicilarTableAdapter(); DropDownList1.DataSource = dt.OgrtListee(); DropDownList1.DataTextField = "OgretmenAdSoyadd"; DropDownList1.DataValueField = "ID"; DropDownList1.DataBind(); } }