Aspx’de Formdaki Verileri Ekrana Yazdırma

Aspx’de Formdaki Verileri Ekrana Yazdırma

Default.aspx.cs kodları

protectedvoid DropDownList1_SelectedIndexChanged(objectsender, EventArgs e)

{

 

int yas, dtarih;

dtarih = Convert.ToInt16(DropDownList1.SelectedItem.ToString());

yas = 2016 – dtarih;

TextBox2.Text = yas.ToString();

 

 

 

}

protectedvoid Button1_Click(objectsender, EventArgs e)

{

ListBox1.Items.Add(“Adınız Soyadınız = “+TextBox1.Text);

ListBox1.Items.Add(“Doğum Yılı = ” + DropDownList1.SelectedItem.Text);

ListBox1.Items.Add(“Yaş = ” + TextBox2.Text);

ListBox1.Items.Add(“Cinsiyeti = ” + DropDownList2.SelectedItem.Text);

ListBox1.Items.Add(“Medeni Hali = ” + DropDownList3.SelectedItem.Text);

}

aspx-form

 

 


Fatal error: Uncaught Error: Call to undefined function kk_star_ratings() in /var/www/vhosts/kursistem.com/cdersleri.kursistem.com/wp-content/themes/jarida/single.php:78 Stack trace: #0 /var/www/vhosts/kursistem.com/cdersleri.kursistem.com/wp-includes/template-loader.php(106): include() #1 /var/www/vhosts/kursistem.com/cdersleri.kursistem.com/wp-blog-header.php(19): require_once('/var/www/vhosts...') #2 /var/www/vhosts/kursistem.com/cdersleri.kursistem.com/index.php(17): require('/var/www/vhosts...') #3 {main} thrown in /var/www/vhosts/kursistem.com/cdersleri.kursistem.com/wp-content/themes/jarida/single.php on line 78