public void DrpFirmFill() { List <ENTVWFRMFIRM> list = DALFirm.GetAllListFirms(); drpFirm.Items.Clear(); drpFirm.DataSource = list; drpFirm.DataValueField = "ID"; drpFirm.DataTextField = "NAME"; drpFirm.Items.Insert(0, new ListItem("Seçiniz", "0")); drpFirm.DataBind(); }
private void FillFirm() { rptFirms.DataSource = DALFirm.GetAllListFirms(); rptFirms.DataBind(); }