private void Gel_Siparis_Detayi() { DataTable dt = cS.GelSiparisler_SiparisDetay(Gelen_SiparisNo, GelenID); if (dt.Rows.Count != 0) { SiparisListesi_DataList.DataSource = dt; SiparisListesi_DataList.DataBind(); } else { SiparisListesi_DataList.DataBind(); } }
private void GelSiparisler_DurumuGore() { DataTable dt = cS.GelSiparisler_DurumaGore(SiparisDurumuDrop.SelectedValue.ToString(), GelenID); if (dt.Rows.Count != 0) { SiparisListesi_DataList.DataSource = dt; SiparisListesi_DataList.DataBind(); Durum_YokDiv.Visible = false; } else { SiparisListesi_DataList.DataBind(); Durum_YokDiv.Visible = true; } }
private void GelSiparisler_Hepsi() { DataTable dt = cS.GelSiparisler_Hepsi(GelenID); if (dt.Rows.Count != 0) { SiparisListesi_DataList.DataSource = dt; SiparisListesi_DataList.DataBind(); panelsepet.Visible = true; SiparisYokDiv.Visible = false; } else { panelsepet.Visible = false; SiparisYokDiv.Visible = true; } }