SlideShare une entreprise Scribd logo
1  sur  7
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());   }

Contenu connexe

Tendances (8)

Ditec esoft C# project
Ditec esoft C# projectDitec esoft C# project
Ditec esoft C# project
 
안드로이드 세미나 2
안드로이드 세미나 2안드로이드 세미나 2
안드로이드 세미나 2
 
안드로이드 세미나 2
안드로이드 세미나 2안드로이드 세미나 2
안드로이드 세미나 2
 
Lenguaje de programación jn
Lenguaje de programación jnLenguaje de programación jn
Lenguaje de programación jn
 
Macros
MacrosMacros
Macros
 
Php
PhpPhp
Php
 
TeleVox
TeleVoxTeleVox
TeleVox
 
Bienvenida
BienvenidaBienvenida
Bienvenida
 

En vedette

Multiplication Story Katrina
Multiplication Story   KatrinaMultiplication Story   Katrina
Multiplication Story KatrinaSCIS
 
Youversion Presentation
Youversion PresentationYouversion Presentation
Youversion Presentationkowaikawaii
 
Luiza - All About Me
Luiza - All About MeLuiza - All About Me
Luiza - All About MeSCIS
 
Politika és Facebook 2014
Politika és Facebook 2014Politika és Facebook 2014
Politika és Facebook 2014MédiaQ Kft.
 
Vásárlási szokások a hazai lakosság körében @ 2015
Vásárlási szokások a hazai lakosság körében @ 2015Vásárlási szokások a hazai lakosság körében @ 2015
Vásárlási szokások a hazai lakosság körében @ 2015MédiaQ Kft.
 
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.MédiaQ Kft.
 
Mq linkedin meetup_prezi20160303
Mq linkedin meetup_prezi20160303Mq linkedin meetup_prezi20160303
Mq linkedin meetup_prezi20160303MédiaQ Kft.
 

En vedette (7)

Multiplication Story Katrina
Multiplication Story   KatrinaMultiplication Story   Katrina
Multiplication Story Katrina
 
Youversion Presentation
Youversion PresentationYouversion Presentation
Youversion Presentation
 
Luiza - All About Me
Luiza - All About MeLuiza - All About Me
Luiza - All About Me
 
Politika és Facebook 2014
Politika és Facebook 2014Politika és Facebook 2014
Politika és Facebook 2014
 
Vásárlási szokások a hazai lakosság körében @ 2015
Vásárlási szokások a hazai lakosság körében @ 2015Vásárlási szokások a hazai lakosság körében @ 2015
Vásárlási szokások a hazai lakosság körében @ 2015
 
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.
MediaQ generációk az interneten 2014 @ Menedzserképző 2014.10.01.
 
Mq linkedin meetup_prezi20160303
Mq linkedin meetup_prezi20160303Mq linkedin meetup_prezi20160303
Mq linkedin meetup_prezi20160303
 

Similaire à yazılı

Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaYusman Kurniadi
 
Ejemplo En Gamabas
Ejemplo En GamabasEjemplo En Gamabas
Ejemplo En Gamabaseduann
 
C# Program. Create a Windows application that has the functionality .pdf
C# Program. Create a Windows application that has the functionality .pdfC# Program. Create a Windows application that has the functionality .pdf
C# Program. Create a Windows application that has the functionality .pdffathimalinks
 
Use the following data set that compares age to average years lef.docx
Use the following data set that compares age to average years lef.docxUse the following data set that compares age to average years lef.docx
Use the following data set that compares age to average years lef.docxdickonsondorris
 
Inventory management
Inventory managementInventory management
Inventory managementRajeev Sharan
 
IN C++ languageWrite a simple word processor that will accept text.pdf
IN C++ languageWrite a simple word processor that will accept text.pdfIN C++ languageWrite a simple word processor that will accept text.pdf
IN C++ languageWrite a simple word processor that will accept text.pdfaratextails30
 
ejemplos gambas
ejemplos gambasejemplos gambas
ejemplos gambaseduann
 
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docx
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docxlab08build.bat@echo offclsset DRIVE_LETTER=1s.docx
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docxDIPESH30
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfezhilvizhiyan
 
Working With JQuery Part1
Working With JQuery Part1Working With JQuery Part1
Working With JQuery Part1saydin_soft
 
please code in c#- please note that im a complete beginner- northwind.docx
please code in c#- please note that im a complete beginner-  northwind.docxplease code in c#- please note that im a complete beginner-  northwind.docx
please code in c#- please note that im a complete beginner- northwind.docxAustinaGRPaigey
 
 staple  here  (-­‐2  if  not  stapled  or .docx
  staple  here  (-­‐2  if  not  stapled  or .docx  staple  here  (-­‐2  if  not  stapled  or .docx
 staple  here  (-­‐2  if  not  stapled  or .docxmayank272369
 
Python Course for Beginners
Python Course for BeginnersPython Course for Beginners
Python Course for BeginnersNandakumar P
 

Similaire à yazılı (20)

Membuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhanaMembuat aplikasi penjualan buku sederhana
Membuat aplikasi penjualan buku sederhana
 
Ejemplo En Gamabas
Ejemplo En GamabasEjemplo En Gamabas
Ejemplo En Gamabas
 
C# Program. Create a Windows application that has the functionality .pdf
C# Program. Create a Windows application that has the functionality .pdfC# Program. Create a Windows application that has the functionality .pdf
C# Program. Create a Windows application that has the functionality .pdf
 
Use the following data set that compares age to average years lef.docx
Use the following data set that compares age to average years lef.docxUse the following data set that compares age to average years lef.docx
Use the following data set that compares age to average years lef.docx
 
Inventory management
Inventory managementInventory management
Inventory management
 
IN C++ languageWrite a simple word processor that will accept text.pdf
IN C++ languageWrite a simple word processor that will accept text.pdfIN C++ languageWrite a simple word processor that will accept text.pdf
IN C++ languageWrite a simple word processor that will accept text.pdf
 
Colegio municipal
Colegio municipalColegio municipal
Colegio municipal
 
ejemplos gambas
ejemplos gambasejemplos gambas
ejemplos gambas
 
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docx
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docxlab08build.bat@echo offclsset DRIVE_LETTER=1s.docx
lab08build.bat@echo offclsset DRIVE_LETTER=1s.docx
 
Calculadora
CalculadoraCalculadora
Calculadora
 
Calculadora
CalculadoraCalculadora
Calculadora
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdf
 
Writing Good Tests
Writing Good TestsWriting Good Tests
Writing Good Tests
 
Working With JQuery Part1
Working With JQuery Part1Working With JQuery Part1
Working With JQuery Part1
 
please code in c#- please note that im a complete beginner- northwind.docx
please code in c#- please note that im a complete beginner-  northwind.docxplease code in c#- please note that im a complete beginner-  northwind.docx
please code in c#- please note that im a complete beginner- northwind.docx
 
Quanlycanbo
QuanlycanboQuanlycanbo
Quanlycanbo
 
Java File
Java FileJava File
Java File
 
 staple  here  (-­‐2  if  not  stapled  or .docx
  staple  here  (-­‐2  if  not  stapled  or .docx  staple  here  (-­‐2  if  not  stapled  or .docx
 staple  here  (-­‐2  if  not  stapled  or .docx
 
Calculadora
CalculadoraCalculadora
Calculadora
 
Python Course for Beginners
Python Course for BeginnersPython Course for Beginners
Python Course for Beginners
 

Dernier

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

yazılı

  • 1. 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);
  • 2. 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;); }}
  • 3. 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; }
  • 4. 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 }
  • 5.
  • 6. 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++) {
  • 7. dropdownlist2.Items.add(ay.tostrin()); } for( yil=1960; yil<2009; yil++) { dropdownlist3.Items.add(yil.tostring()); }