• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
yazılı
 

yazılı

on

  • 616 views

yazılı

yazılı

Statistics

Views

Total Views
616
Views on SlideShare
616
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    yazılı yazılı Document Transcript

    • protected void Button1_Click(object sender, EventArgs e) { this.Label1.Text = this.TextBox1.Text + quot; Hoşgeldinquot;; //Label1 in yazını textbox a yazılan yazıyı yaz. } protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { this.TextBox1.Text = this.DropDownList1.SelectedItem.ToString(); } protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e) { int deger = Convert.ToInt32(this.ListBox1.SelectedItem.Value); this.TextBox1.Text = string.Format(quot;{0:N} YTLquot;, deger);
    • protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { if (this.DropDownList2.SelectedIndex == 0) { this.CheckBox1.Checked = true; this.CheckBox2.Checked = false; this.CheckBox3.Checked = false; this.CheckBox4.Checked = true; } else if (this.DropDownList2.SelectedIndex == 1) { this.CheckBox1.Checked = false; this.CheckBox2.Checked = true; this.CheckBox3.Checked = true; this.CheckBox4.Checked = false; } else { this.CheckBox1.Checked = true; this.CheckBox2.Checked = true; this.CheckBox3.Checked = true; this.CheckBox4.Checked = true; protected void Button1_Click(object sender, EventArgs e) { string yazi = this.TextBox1.Text; if (this.RadioButton1.Checked == true) { Response.Write(yazi + quot; Cinsiyeti: Erkekquot;); } else { Response.Write(yazi + quot; Cinsiyeti: Kadınquot;); }}
    • protected void Button1_Click(object sender, EventArgs e) { if (this.RadioButtonList1.SelectedIndex == 0) { Response.Write(this.RadioButtonList1.SelectedValue + quot; Lisans Satışquot;); } else if (this.RadioButtonList1.SelectedIndex == 1) { Response.Write(this.RadioButtonList1.SelectedValue + quot; Satış Müdürüquot;); } else { Response.Write(this.RadioButtonList1.SelectedValue + quot; Muhasebequot;); } } protected void LinkButton1_Click(object sender, EventArgs e) { this.MultiView1.ActiveViewIndex = 0; } protected void LinkButton2_Click(object sender, EventArgs e) { this.MultiView1.ActiveViewIndex = 1; }
    • protected void LinkButton3_Click(object sender, EventArgs e) { this.MultiView1.ActiveViewIndex = 2; } protected void Wizard1_FinishButtonClick(object sender, WizardNavi { Response.Write(this.TextBox1.Text); Response.Write(this.TextBox2.Text); Response.Write(this.TextBox3.Text); //Kişisel bilgiler ve Şirket bilgilerindek textbox lar için kod }
    • 2) 10 elemanlı bir dizin yapınız.1.elemanında “yunus” 3.elemanında “15” 4.elemanında “Ahmet” yazısın. Bunları ekrana yazdırınız? 3) 3 tane doropdownlist kullanınız. 1. doropdownlist'e “gün” 2.dropdownlist'e “ay” 3.dropdonwlist'e de “yıl”şeklinde döngü kullanarak yapınız? 2) string[ ] ad = new string[10] ad[1] = “yunus”; ad[3] = “15”; ad[4] = “ahmet”; response.write(ad[1] + “<br>” + ad[3] + “<br>” + ad[4]); 4) int gun; int ay; int yil; for( gun=0; gun<32; gun++) { dropdownlist1.Items.add(gun.tostring()); } for( ay= 0; ay<13; ay++) {
    • dropdownlist2.Items.add(ay.tostrin()); } for( yil=1960; yil<2009; yil++) { dropdownlist3.Items.add(yil.tostring()); }