Aşağıdaki kodlar Textbox1_Changed in içine yazılır.
protected void
TextBox1_TextChanged(object sender, EventArgs e)
{
string a;
a =
TextBox1 .Text ;
ListBox1.Items.Clear();
for (int i = 1; i
<= 5 ; i++)
{
ListBox1.Items.Add(i + ". "
+ a);
}
}
Kodun Çalıştırılmış Hali
Hiç yorum yok:
Yorum Gönder