Asp.Net
19 Kasım 2013 Salı
DropDownList e Girilen Değeri Label e Yazdırma
Aşağıdaki kodlar DropDownList1_SelectedIndexChanged in içine yazılır.
Dropdownlist in Properties inden AutoPostPack seçeneği
true
olacak.
protected
void
DropDownList1_SelectedIndexChanged(
object
sender,
EventArgs
e)
{
Label2.Text = DropDownList1.SelectedItem.Text};
}
Kodun Çalıştırılmış Hali
Hiç yorum yok:
Yorum Gönder
Sonraki Kayıt
Önceki Kayıt
Ana Sayfa
Kaydol:
Kayıt Yorumları (Atom)
Hiç yorum yok:
Yorum Gönder